Skip to content
Browse files

Abort release on set-version failure

  • Loading branch information...
1 parent 39f8fda commit 4857e955a722151d9c80af748c0fea64c53a0348 @hugoduncan hugoduncan committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 release.sh
View
2 release.sh
@@ -20,7 +20,7 @@ lein do clean, test && \
git flow release start $version || exit 1
lein set-version ${version} :previous-version ${previous_version} \
- || { echo "set version failed" >2 ; exit 1; }
+ || { echo "set version failed" >2 ; exit 1; } || exit 1
lein set-sub-version ${version} :previous-version ${previous_version} \
|| { echo "set sub-version failed" >2 ; exit 1; }

0 comments on commit 4857e95

Please sign in to comment.
Something went wrong with that request. Please try again.