Skip to content

Commit

Permalink
Merge pull request #320 from etiennedub/lock_file
Browse files Browse the repository at this point in the history
Fix terraform lock file in release
  • Loading branch information
cmd-ntrf authored Sep 3, 2024
2 parents d308bda + abc8b7f commit 66963a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/')
Expand Down
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 66963a4

Please sign in to comment.