We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ecafc3 commit c3cbbf8Copy full SHA for c3cbbf8
scripts/changes/release.sh
@@ -17,12 +17,14 @@ if [[ "${COMMAND}" == "start" ]]; then
17
exit 1
18
fi
19
20
+ set +e
21
git ls-remote --exit-code --heads origin release
22
EXIT_CODE=$?
23
if [[ $EXIT_CODE == '0' ]]; then
24
echo "Error: Remote branch 'release' already exists."
25
26
27
+ set -e
28
29
git checkout main
30
git pull
0 commit comments