These are the general steps to release a new version of the plugin:
- Remove the
SNAPSHOT
suffix from plugin version number on thegradle.properties
. - Update the
CHANGELOG.md
by running the./gradlew patchChangelog
task. The task will automatically move all the unreleased changes notes to the soon-to-be released version and create a new change note section for new unreleased changes. - Open a pull request with the changes.
- Once the pull request is merged the release workflow will build the release version, create the tag and create a draft Github release with the plugin JAR and change notes.
- Review the draft GitHub release and, if everything is ok, release it.
After a new version is released, we need to announce it on Sonarqube Marketplace.
Follow the steps bellow to publish the new release on Sonarqube Marketplace:
- Fork sonar-update-center.properties repository;
- Add the new version of the plugin on the communitygosu.properties;
- Create a pull request with your changes. Example;
- Once a SonarSource representative review and approve your pull request, it will be automatically published to the marketplace;
- All done :-).