Skip to content

Commit

Permalink
Avoid exiting with an error code if everything is good
Browse files Browse the repository at this point in the history
  • Loading branch information
giuliomoro committed May 27, 2020
1 parent 3be5ffc commit 99e6c8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/create_img.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,4 @@ echo "bela.img created"
echo
GIT_TAG=`git -C ${DIR} describe --tags --dirty`
# Are we on a tag? Try to list tags with the names above, if we get 0 lines, then we are not.
[ "`git tag -l \"$GIT_TAG\" | wc -l`" -eq 0 ] && echo "You do not seem to be on a git tag or your working tree is dirty. Are you sure you want to use this image for release?" >&2
[ "`git tag -l \"$GIT_TAG\" | wc -l`" -eq 0 ] && echo "You do not seem to be on a git tag or your working tree is dirty. Are you sure you want to use this image for release?" >&2 || true

0 comments on commit 99e6c8b

Please sign in to comment.