-
Notifications
You must be signed in to change notification settings - Fork 435
Release It
Dominik Dary edited this page Mar 1, 2016
·
7 revisions
##Prepare the release:
- update changelog
- Change the version number (remove
-SNAPSHOT
) - run
gradle clean build
##Do the deploy
to publish the release artifacts to jcenter use the command:
// <username> and <key> are bintray account's username and API key
gradle -PbintrayUser=<username> -PbintrayKey=<key> clean bintrayUpload.
##Do the deploy (deprecated way using sonatype and maven):
mvn source:jar javadoc:jar -P sign deploy
(you will be prompted for your gpg key passphrase)
After all artifacts has been uploaded, you have to approve the relase in nexus repository manager:
- sign into nexus: https://oss.sonatype.org/
- click on
Staging Repositories
- find the entry starting with
ioselendroid
- select the line and press the
Close
button (which means the release will be verified). - select the line again and press the
Release
button ( which means the release will published to maven central.
##Prepare the next release
- Change all version numbers in pom files ( version number++ plus
-SNAPSHOT
) - run
mvn clean install
- commit changes in pom files and generated AndroidManifest.xml files.
##Update Documentation
git clone https://github.com/selendroid/selendroid.io.git
- update version number in file: https://github.com/selendroid/selendroid.io/blob/master/_config/site.yml
- release the documentation as described here