mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
CICD: Make Version Generation Fail a Bit More Verbosely.
Signed-off-by: Michael Keller <github@ike.ch>
This commit is contained in:
parent
39e47845d7
commit
269ed630be
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ else
|
||||||
# someone else was faster - get the number they wrote
|
# someone else was faster - get the number they wrote
|
||||||
git checkout main &> /dev/null
|
git checkout main &> /dev/null
|
||||||
git branch -D "$SHA_BRANCH" &> /dev/null
|
git branch -D "$SHA_BRANCH" &> /dev/null
|
||||||
if ! git checkout "$SHA_BRANCH" &> /dev/null
|
if ! git checkout "$SHA_BRANCH"
|
||||||
then
|
then
|
||||||
echo "push to $SHA_BRANCH failed, but switching to it failed as well"
|
echo "push to $SHA_BRANCH failed, but switching to it failed as well"
|
||||||
exit 2
|
exit 2
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue