Skip to content

Commit

Permalink
Add branch sync script
Browse files Browse the repository at this point in the history
  • Loading branch information
passsy committed May 26, 2021
1 parent d7b3a61 commit c8e6607
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions tool/update_branches.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/usr/bin/env bash
###
# Sync the beta and dev branch with stable
###

set -e

git checkout stable
git pull --ff-only

git checkout beta
git pull --ff-only
git merge stable --ff

git checkout dev
git pull --ff-only
git merge beta --ff

git push origin beta
git push origin dev

git checkout stable

0 comments on commit c8e6607

Please sign in to comment.