- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request
We publish our Java SDK to Bintray's JCenter and Sonatype's Central Repository.
That process is not automated yet and it requires to have special access, but here's the steps:
- Set the following environment variables:
export SONATYPE_USER="<secret>"
export SONATYPE_PASSWORD="<secret>"
export BINTRAY_USER="<secret>"
export BINTRAY_KEY="<secret>"
- Adjust the VERSION variable in the following files:
discovery/gradle.properties
discovery-model/gradle.properties
discovery/src/main/java/com/ticketmaster/api/Version.java
maven-example/pom.xml
README.md
- Run:
./gradlew clean install bintrayUpload -i
If the dry run went well, you can proceed
- Set the following environment variables:
export SONATYPE_USER="<secret>"
export SONATYPE_PASSWORD="<secret>"
export BINTRAY_USER="<secret>"
export BINTRAY_KEY="<secret>"
export BINTRAY_DRYRUN=0
export SONATYPE_CLOSE=1
- Run:
./gradlew clean install bintrayUpload -i
- Validate that everything is successfully published to JCenter and the Central Repository (it can take some times)