• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1if [ -z "$SONATYPE_USER" ]
2then
3  echo "Please define SONATYPE_USER"
4  exit 1
5fi
6
7if [ -z "$SONATYPE_PASSWORD" ]
8then
9  echo "Please define SONATYPE_PASSWORD"
10  exit 1
11fi
12
13./gradlew uploadArchives && ./gradlew closeAndPromoteRepository
14
15