Skip to content

Commit df1058e

Browse files
authored
cd: Remove git merge into master for beta releases (#6512)
1 parent e0819ea commit df1058e

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

chore/release-beta.sh

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,6 @@ echo "::group::Running jreleaser"
4242
JRELEASER_PROJECT_VERSION="$NEXT_BETA_VERSION" jreleaser-cli release
4343
echo "::endgroup::"
4444

45-
echo "::group::Reverting to old SNAPSHOT version"
46-
git revert --no-commit HEAD
47-
git commit -m "release: Reverting to SNAPSHOT version $OLD_VERSION_WITH_SNAPSHOT"
48-
git push origin "$BRANCH_NAME"
49-
echo "::endgroup::"
50-
51-
echo "::group::Merging into master (fast-forward)"
52-
git checkout master
53-
git merge --ff-only "$BRANCH_NAME"
54-
git push origin master
45+
echo "::group::Delete branch"
5546
git push origin --delete "$BRANCH_NAME"
5647
echo "::endgroup::"

0 commit comments

Comments
 (0)