-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
How_to_release
Johan Haleby edited this page May 22, 2025
·
25 revisions
- Disable NordVPN (some tests call actual servers and they don't work the same way behind VPN)
- Update changelog with the date of the new release
- Switch to JDK 8
- Run
./mvn_release.sh
and follow the instructions.- If build fails because of missing dependencies do:
mvn install -Prelease,dist
mvn release:prepare -Prelease,dist -Dresume
mvn release:perform -Prelease,dist
- If build fails because of missing dependencies do:
- Upload the artifacts to bintray.
- 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. - Login to bintray and add release notes and publish the release.
- Run the
- Generate javadoc by running the
./generate_javadoc.sh
script and enter the version to release - 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 replaceold version
tonew 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. - Fix snapshot version number in https://github.com/rest-assured/rest-assured/wiki/snapshot
- Update the
README.md
file 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).
- Disable NordVPN (some tests call actual servers and they don't work the same way behind VPN)
- Switch to JDK 8
- Create a branch, e.g. if you want to release version 5.3.1, call it e.g.
rest-assured-5.3.1-code
. The reason for not calling itrest-assured-5.3.1
is that a tag will be generated with that name. - Edit
pom.xml
and change SCM branch torest-assured-5.3.1-code
. - Make the changes you want to make and then run
./mvn_release.sh
as normally. - You can now remove the local branch:
git br -D rest-assured-5.3.1-code
- You can now remove the remote branch:
git push origin :rest-assured-5.3.1-code
- Update changelog.txt and README.md in master branch.
- Send email and twitter message if deemed appropriate