File: README-publish

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 (9 lines) | stat: -rw-r--r-- 672 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
To publish:

- ./gradlew bintrayUpload will upload the release to JCenter. It will fail if the version is a SNAPSHOT
- ./gradlew uploadArchives will upload
  - the snapshot to https://oss.sonatype.org/content/repositories/snapshots
  - the release to https://oss.sonatype.org/service/local/staging/deploy/maven2
For a release, you then need to go to https://oss.sonatype.org/index.html#stagingRepositories to manually close and release the distribution.

Note that `./gradlew uploadArchives` is run by Travis after each new push to deploy the latest HEAD to the snapshot directory. As such, the version number of `build.gradle` in the git repo should always be -SNAPSHOT.