-
-
Notifications
You must be signed in to change notification settings - Fork 259
How_to_release
Johan Haleby edited this page Dec 6, 2018
·
13 revisions
- Update the change log indicating the date of the release
- Switch to Java 8
- Run
./mvn_release.shand follow the instructions.- If build fails because of missing dependencies do:
mvn install -Prelease -DskipTests=truemvn release:prepare -Prelease -Dresumemvn release:perform -Prelease
- Or just do:
mvn install -Prelease -DskipTests=true && mvn release:prepare -Prelease -Dresume && mvn release:perform -Prelease
- If build fails because of missing dependencies do:
- Log in to Sonatype.
- Remove the awaitility-java8-test project so that it's not synced to central
- Follow the release directions in bullet 8.
- Upload the artifacts to bintray.
- Run the
./deploy_bintray.shscript and enter the API Key (found on Bintray on the user profile page when pressing the edit button) and version to release. - Login to bintray and add release notes and publish the release.
- Run the
- Generate javadoc by running the
./generate_javadoc.shscript and enter the version to release - Update the wiki by running the
./update_wiki.shscript and enter the previous version and the new version to release. This will clone the wiki from GitHub and replaceold versiontonew versionon all pages. Afterwards you have the script offers you to commit and push the changes. If you want to avoid having to enter the github username and password each time see this page. - Update the
README.mdfile to indicate that a new version was released - Send a message to the mailing-list and twitter announcing the new release.
The release is automatically synced to Maven central (the sync process runs hourly).