mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-13 13:22:57 +00:00
fix release script
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user