Skip to content

How_to_release

Johan Haleby edited this page Dec 6, 2018 · 13 revisions
  1. Update the change log indicating the date of the release
  2. Switch to Java 8
  3. Run ./mvn_release.sh and follow the instructions.
    • If build fails because of missing dependencies do:
      1. mvn install -Prelease -DskipTests=true
      2. mvn release:prepare -Prelease -Dresume
      3. mvn release:perform -Prelease
      • Or just do: mvn install -Prelease -DskipTests=true && mvn release:prepare -Prelease -Dresume && mvn release:perform -Prelease
  4. Log in to Sonatype.
  5. Remove the awaitility-java8-test project so that it's not synced to central
  6. Follow the release directions in bullet 8.
  7. Upload the artifacts to bintray.
    1. Run the ./deploy_bintray.sh script and enter the API Key (found on Bintray on the user profile page when pressing the edit button) and version to release.
    2. Login to bintray and add release notes and publish the release.
  8. Generate javadoc by running the ./generate_javadoc.sh script and enter the version to release
  9. Update the wiki by running the ./update_wiki.sh script and enter the previous version and the new version to release. This will clone the wiki from GitHub and replace old version to new version on 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.
  10. Update the README.md file to indicate that a new version was released
  11. 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).

Clone this wiki locally