Skip to content

Commit d831367

Browse files
committed
update
1 parent c86fb4a commit d831367

1 file changed

Lines changed: 3 additions & 9 deletions

File tree

Makefile

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -123,15 +123,9 @@ endif
123123
@echo "Github Actions will detect the new tag and release the new version."
124124

125125

126-
127-
update_beta:
128-
git checkout beta
129-
git rebase dev
130-
git push
131-
git checkout dev
132-
133-
update_release:
134-
git checkout main
126+
sync_branch:
127+
[ ! -z "$(BRANCH)" ] || { echo "no branch main/dev"; exit 1; }
128+
git checkout $(BRANCH)
135129
git rebase dev
136130
git push
137131
git checkout dev

0 commit comments

Comments
 (0)