Skip to content
Tadaya Tsuyukubo edited this page Apr 21, 2023 · 1 revision
# update pom.xml
> ./mvnw versions:set -DnewVersion=1.9 -DgenerateBackupPoms=false
> git add pom.xml
> git commit -m "Release v1.9"

# update pom.xml
> ./mvnw versions:set -DnewVersion=1.10-SNAPSHOT -DgenerateBackupPoms=false
> git add pom.xml
> git commit -m "Prepare next development iteration"

# use release branch to perform a deploy
> git checkout release
> git rebase 1.x
> git reset --hard HEAD^
> git tag -a datasource-proxy-1.9 -m "Release v1.9"
> git push

* login to https://oss.sonatype.org/
=> see https://github.com/ttddyy/datasource-proxy/wiki/Development-and-Release#release-to-maven-central
=> Close => Release

git checkout 1.x
git push 1.x
git push —tags

Clone this wiki locally