diff --git a/ci/README.adoc b/ci/README.adoc index 8addfe1..d2514ee 100644 --- a/ci/README.adoc +++ b/ci/README.adoc @@ -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 -% git push -f origin release +% git push -f origin release-2.0.x ---- NOTE: You can chain the previous set of commands together using `&&`. \ No newline at end of file diff --git a/ci/create-release-2.0.x.sh b/ci/create-release-2.0.x.sh deleted file mode 100755 index d3eac35..0000000 --- a/ci/create-release-2.0.x.sh +++ /dev/null @@ -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" - -