CICD: Make Version Generation Fail a Bit More Verbosely.

Signed-off-by: Michael Keller <github@ike.ch>
This commit is contained in:
Michael Keller 2024-12-29 16:25:57 +13:00
parent 39e47845d7
commit 269ed630be

View file

@ -48,7 +48,7 @@ else
# someone else was faster - get the number they wrote
git checkout main &> /dev/null
git branch -D "$SHA_BRANCH" &> /dev/null
if ! git checkout "$SHA_BRANCH" &> /dev/null
if ! git checkout "$SHA_BRANCH"
then
echo "push to $SHA_BRANCH failed, but switching to it failed as well"
exit 2