Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Update release process to work on the main branch #23

Merged
merged 1 commit into from
Nov 15, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion release.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ and [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/).
Update this document with new version while doing the release.

```shell
export NEW_VERSION=1.0.3
git checkout main
git fetch origin main
git reset --hard origin/main
export NEW_VERSION=1.0.4
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 @@ -72,3 +75,11 @@ Again, check CI succeed.

Go to [Sonatype](https://oss.sonatype.org/#stagingRepositories) to review the staged deployment and
release it to Maven Central.

### In case of error while doing the release

To remove tags,
```shell
git tag -d ${NEW_VERSION}
git push
```