When you release fixed version of SonarQube SpotBugs Plugin, please follow these procedures.
- create topic branch from
master
branch
git checkout -b master-release
-
Make sure profile XMLs are updated. See
generate_profiles/README.md
for detail. -
change version number in
pom.xml
to stable version (e.g.1.2.3
), then commit changes
mvn versions:set -DnewVersion=1.2.3
- change version number in
pom.xml
to next development SNAPSHOT version (e.g.1.2.4-SNAPSHOT
), then commit changes
mvn versions:set -DnewVersion=1.2.4-SNAPSHOT
- push your topic branch and propose a pull request
- after merging your pull request, create a GitHub Release with the commit which has stable version in
pom.xml
. The name of tag should have no prefix nor suffix, e.g.4.0.0
When we push the new tag, the Github Actions release build will be deploy to Sonatype Nexus. Check Sonatype official page for details.
sonar-update-center-action will handle necessary procedures. Please confirm that the PR is made in SonarSource/sonar-update-center-properties.