File: deploy-to-maven

package info (click to toggle)
testng 6.9.12-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 10,356 kB
  • sloc: java: 53,851; xml: 2,720; sh: 199; php: 35; makefile: 2
file content (14 lines) | stat: -rwxr-xr-x 237 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
if [ -z "$SONATYPE_USER" ]
then
  echo "Please define SONATYPE_USER"
  exit 1
fi

if [ -z "$SONATYPE_PASSWORD" ]
then
  echo "Please define SONATYPE_PASSWORD"
  exit 1
fi

./gradlew uploadArchives && ./gradlew closeAndPromoteRepository