fix release script

This commit is contained in:
Brandon Thomas committed 2025-10-04 12:50:14 -04:00
1 parent e9613c6b4a
commit 90810231da
1 file changed
+7 -3
@@ -2,13 +2,17 @@
set -euxo pipefail
git branch -D artcraft-release
declare -r RELEASE_BRANCH="artcraft-release"
if git show-ref --verify --quiet "refs/heads/${RELEASE_BRANCH}"; then
git branch -D artcraft-release
fi
git checkout main
git pull
git checkout -b artcraft-release
git push origin artcraft-release
git checkout -b "${RELEASE_BRANCH}"
git push origin "${RELEASE_BRANCH}"
git checkout main