This commit is contained in:
Fredrik Burmester
2025-01-06 10:14:17 +01:00
parent b243524a7d
commit 23d9cd36d1

6
scripts/automerge.sh Normal file → Executable file
View File

@@ -1,11 +1,11 @@
#!/bin/bash #!/bin/bash
[[ -z $(git status --porcelain) ]] && [[ -z $(git status --porcelain) ]] &&
git checkout main && git checkout master &&
git pull --ff-only && git pull --ff-only &&
git checkout develop && git checkout develop &&
git merge main && git merge master &&
git push --follow-tags && git push --follow-tags &&
git checkout main && git checkout master &&
git merge develop --ff-only && git merge develop --ff-only &&
git push && git push &&
git checkout develop || git checkout develop ||