Refactor unify-twilight-and-stable.sh script to merge current branch to both stable and twilight branches

This commit is contained in:
mr. M
2024-10-11 19:28:19 +02:00
parent f2058851d0
commit 8bcffb59e6

View File

@@ -0,0 +1,14 @@
# confirm before doing anything
echo "This script will merge the current branch to both the stable and twilight branches."
echo "Are you sure you want to continue? (y/n)"
read -r response
if [ "$response" != "y" ]; then
echo "Exiting."
exit 1
fi
set -ex
$(dirname $0)/merge-to-branch.sh twilight
$(dirname $0)/merge-to-branch.sh stable