diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 7174f13f..c502800b 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -19,7 +19,7 @@ jobs: - uses: hashicorp/setup-terraform@v1 with: - terraform_version: 1.2.1 + terraform_version: 1.4.0 - name: Create tarballs and zips if: startsWith(github.ref, 'refs/tags/') diff --git a/release.sh b/release.sh index 99039ff3..567a5e2f 100755 --- a/release.sh +++ b/release.sh @@ -1,4 +1,5 @@ #!/bin/bash +set -e VERSION=$1 shift CLOUD=($@) @@ -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 \ No newline at end of file +rm -rf $TMPDIR