Skip to content

Commit

Permalink
Crash release.sh when an error occur
Browse files Browse the repository at this point in the history
  • Loading branch information
etiennedub committed Aug 27, 2024
1 parent 1df9227 commit 004ffa5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion release.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
set -e
VERSION=$1
shift
CLOUD=($@)
Expand Down Expand Up @@ -63,4 +64,4 @@ for provider in "${CLOUD[@]}"; do
cp $FOLDER/magic_castle-$provider-$VERSION.tar.gz releases/
cp $FOLDER/magic_castle-$provider-$VERSION.zip releases/
done
rm -rf $TMPDIR
rm -rf $TMPDIR

0 comments on commit 004ffa5

Please sign in to comment.