Skip to content

Commit

Permalink
docs: Release note, split in 2 steps to reset to main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
aurambaj committed Nov 15, 2023
1 parent 28c4608 commit 693c745
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions release.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,18 @@ Make sure the GPG key is accessible locally to sign artifacts
Figure out the next version based on [SemVer](https://semver.org/)
and [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/).

Update this document with new version while doing the release.
First make sure to be on the `main` branch, at latest version.

```shell
git checkout main
git fetch origin main
git reset --hard origin/main
export NEW_VERSION=1.0.4
```

Update this document with new version while doing the release.

```shell
export NEW_VERSION=1.0.3
mvn versions:set -DnewVersion=${NEW_VERSION} -DgenerateBackupPoms=false
mvn versions:set-scm-tag -DnewTag=${NEW_VERSION} -DgenerateBackupPoms=false
./update-non-maven-versions.sh ${NEW_VERSION}
Expand Down Expand Up @@ -81,5 +86,5 @@ release it to Maven Central.
To remove tags,
```shell
git tag -d ${NEW_VERSION}
git push
git push --delete origin ${NEW_VERSION}
```

0 comments on commit 693c745

Please sign in to comment.