-
Notifications
You must be signed in to change notification settings - Fork 70
How to make release
- Update version in case main project released bug fixes only
mvn versions:set -DnewVersion=4.10.1-SNAPSHOT && mvn versions:commit
git add pom.xml && git commit -m "config: update to 4.10.1-SNAPSHOT" && git push
- Test it first ! https://github.com/checkstyle/sonar-checkstyle/wiki/How-to-test-released-binary
1.1) push all to remote and wait for CI to be green. Version update require update in pom.xml . Do not forget update README.md with new version in table.
1.2) Recheck that there are no Bugs and Vulnerabilities at https://sonarcloud.io/dashboard?id=com.github.checkstyle%3Acheckstyle-sonar-plugin-parent , It mandatory gate level to pass plugin to Sonar Update Center.
- generate release notes
git log --pretty=oneline --abbrev-commit $(git rev-list --tags --max-count=1)..HEAD \
| grep -vE "minor|doc|config|maven-release-plugin" | sed 's/^....... //'
2.2) update README file for new version
- do version bump
mvn release:prepare release:clean -B
- make a released binary JAR
git checkout $(git rev-list --tags --max-count=1)
mvn clean package
git checkout master
- upload binary file and release notes to github. https://github.com/checkstyle/sonar-checkstyle/releases
5.1) close milestone, one new is required. https://github.com/checkstyle/sonar-checkstyle/milestones
- Announcements
-
Send email announcement to the Checkstyle https://groups.google.com/forum/#!forum/checkstyle-announce mailing list.
-
Submit SourceForge https://sourceforge.net/p/checkstyle/news/.
-
put news in twitter: https://twitter.com/checkstyle_java .
-
put news to https://plus.google.com/+CheckstyleJava
7.1) send Request For Feedback (RFF) to Sonarqube (SQ)
Request For Feedback (RFF) period on the mailing list of Sonar. Provide the following information:
- short description of the version
- SQ versions compatibility
- Changelog URL
- download URL
- The feedback period is open during 2 weeks, until Sunday January 15.
At the end of the RFF, notify a SonarQube(SQ) member through the same google group thread that binary is ok to put to Sonar Software Update Center. Sonar google group is: https://groups.google.com/forum/#!forum/sonarqube You can directly send an email to the group by using the following email: [email protected] ATTENTION: make a copy of "short description of the version" from github tag webpage, it will keep links to github issues.
!!Example!!: https://groups.google.com/forum/#!topic/sonarqube/IsSscLHHcog
8.2) Make an notification in 2 weeks to make release post
8.3) after 2 weeks Release to Sonar should be done through mail-list
!!!Example!!! - https://groups.google.com/forum/#!topic/sonarqube/nhR4i3h8bpY
Format of post and more details - https://docs.sonarqube.org/display/DEV/Deploying+to+the+Marketplace
8.4) As [NEW RELEASE]
is posted - close RFF with comment
2 weeks are passed. No complains or problems were reported.
NEW RELEASE - .......link......
!!!Example!!!: https://groups.google.com/forum/#!topic/sonarqube/IsSscLHHcog