Improve release-cycle.yml error reporting (#4034)

This commit is contained in:
Ernesto García
2023-02-07 19:15:24 -06:00
committed by GitHub
parent 1575cc6908
commit 95027565c4

View File

@ -29,4 +29,7 @@ git add .
git commit -m "Start release candidate"
# Push branch
git push origin "$RELEASE_BRANCH"
if ! git push origin "$RELEASE_BRANCH"; then
echo "::error file=scripts/release/start.sh::Can't push $RELEASE_BRANCH. Did you forget to run this workflow from $RELEASE_BRANCH?"
exit 1
fi