Polishing.

This commit is contained in:
Greg Turnquist
2019-02-23 13:12:46 -06:00
parent 48fe38d533
commit e035db493c
2 changed files with 1 additions and 26 deletions

View File

@@ -49,7 +49,7 @@ With these pipelines in place, you can now activate and expose them:
----
% git checkout release-2.0.x
% git reset --hard <tag>
% git push -f origin release
% git push -f origin release-2.0.x
----
NOTE: You can chain the previous set of commands together using `&&`.

View File

@@ -1,25 +0,0 @@
#!/bin/bash
set -euo pipefail
RELEASE=$1
SNAPSHOT=$2
git branch -f release-2.0.x
git checkout release-2.0.x
# Bump up the version in pom.xml to the desired version and commit the change
./mvnw versions:set -DnewVersion=$RELEASE -DgenerateBackupPoms=false
git add .
git commit --message "Releasing Spring Session MongoDB v$RELEASE"
# Tag the release
git tag -s v$RELEASE -m "v$RELEASE"
# Bump up the version in pom.xml to the next snapshot
git checkout 2.0.x
./mvnw versions:set -DnewVersion=$SNAPSHOT -DgenerateBackupPoms=false
git add .
git commit --message "Continue development on v$SNAPSHOT"