mirror of
https://github.com/streamyfin/streamyfin.git
synced 2025-08-20 18:37:18 +02:00
chore
This commit is contained in:
12
scripts/automerge.sh
Normal file
12
scripts/automerge.sh
Normal file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
[[ -z $(git status --porcelain) ]] &&
|
||||
git checkout main &&
|
||||
git pull --ff-only &&
|
||||
git checkout develop &&
|
||||
git merge main &&
|
||||
git push --follow-tags &&
|
||||
git checkout main &&
|
||||
git merge develop --ff-only &&
|
||||
git push &&
|
||||
git checkout develop ||
|
||||
(echo "Error: Failed to merge" && exit 1)
|
||||
Reference in New Issue
Block a user