Skip to content

Commit

Permalink
prepare for release: update CHANGELOG.md/README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
r0bb3n committed Apr 3, 2022
1 parent b86af98 commit 2c5a8d1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,15 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

[unreleased]: https://github.com/r0bb3n/sonar-quality-gate-maven-plugin/compare/v1.2.1...HEAD

## [1.2.1]

### Security

- update jackson-databind to fix [CVE-2020-36518] ([#203])

[unreleased]: https://github.com/r0bb3n/sonar-quality-gate-maven-plugin/compare/v1.2.0...HEAD
[1.2.1]: https://github.com/r0bb3n/sonar-quality-gate-maven-plugin/compare/v1.2.0...v1.2.1
[CVE-2020-36518]: https://nvd.nist.gov/vuln/detail/CVE-2020-36518
[#203]: https://github.com/r0bb3n/sonar-quality-gate-maven-plugin/issues/203

Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Include the plugin declaration in your `pom.xml`
<plugin>
<groupId>io.github.r0bb3n</groupId>
<artifactId>sonar-quality-gate-maven-plugin</artifactId>
<version>1.2.0</version>
<version>1.2.1</version>
</plugin>
```

Expand Down Expand Up @@ -136,14 +136,14 @@ mvn -B release:clean
3. Persist:
`git add CHANGELOG.md README.md && git commit -m "prepare for release: update CHANGELOG.md/README.md" && git push`
4. Create release in git repo:
`mvn -B release:prepare -DdevelopmentVersion=1-SNAPSHOT -DreleaseVersion=1.2.0 -Dtag=v1.2.0`
`mvn -B release:prepare -DdevelopmentVersion=1-SNAPSHOT -DreleaseVersion=1.2.1 -Dtag=v1.2.1`
5. Create and publish binaries and documentation:
`mvn -B release:perform -DreleaseProfiles=build-for-release`
6. Create and push a tag for the site branch. Change into directory `./target/checkout/target/scmpublish-checkout` and
fire the according commands: `git tag v1.2.0-site && git push origin v1.2.0-site`
fire the according commands: `git tag v1.2.1-site && git push origin v1.2.1-site`
7. Create new release on GitHub ([here](https://github.com/r0bb3n/sonar-quality-gate-maven-plugin/releases/new))
- choose tag: v1.2.0
- set title: 1.2.0
- choose tag: v1.2.1
- set title: 1.2.1
- copy the `CHANGELOG.md` content of the released version
- upload the files `./target/checkout/target/*.(pom|jar|asc)`
8. publish [staging repository of oss nexus repository](https://oss.sonatype.org/#stagingRepositories)
Expand Down

0 comments on commit 2c5a8d1

Please sign in to comment.