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 Oct 24, 2022
1 parent 4d2bf00 commit 1483d56
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

--

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

## [1.3.0]

### Added

- support environment variable `SONAR_TOKEN` as alternative to the property `sonar.login` ([#243])
Expand All @@ -15,7 +21,7 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

- update jackson-databind to fix [CVE-2022-42003] and [CVE-2022-42004] even if they are not exploitable in here

[unreleased]: https://github.com/r0bb3n/sonar-quality-gate-maven-plugin/compare/v1.2.1...HEAD
[1.3.0]: https://github.com/r0bb3n/sonar-quality-gate-maven-plugin/compare/v1.2.1...v1.3.0
[#243]: https://github.com/r0bb3n/sonar-quality-gate-maven-plugin/issues/243
[CVE-2022-42003]: https://nvd.nist.gov/vuln/detail/CVE-2022-42003
[CVE-2022-42004]: https://nvd.nist.gov/vuln/detail/CVE-2022-42004
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.1</version>
<version>1.3.0</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.1 -Dtag=v1.2.1`
`mvn -B release:prepare -DdevelopmentVersion=1-SNAPSHOT -DreleaseVersion=1.3.0 -Dtag=v1.3.0`
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.1-site && git push origin v1.2.1-site`
fire the according commands: `git tag v1.3.0-site && git push origin v1.3.0-site`
7. Create new release on GitHub ([here](https://github.com/r0bb3n/sonar-quality-gate-maven-plugin/releases/new))
- choose tag: v1.2.1
- set title: 1.2.1
- choose tag: v1.3.0
- set title: 1.3.0
- 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 1483d56

Please sign in to comment.