Skip to content

Commit

Permalink
refactor: Add version to archive filename
Browse files Browse the repository at this point in the history
  • Loading branch information
Ross Hattori committed Apr 10, 2016
1 parent 525da94 commit fc385b6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,10 @@ echo "--- Build done"
for os in $GOX_OS; do
echo "--- Zipping $os"
cd "$DISTDIR/$os"
zip ../terraform-$os.zip ./*
zip ../terraform-plus-v"$FULL_PLUS_VERSION"-"$os".zip ./*
done
echo "--- DING! Fries are done"
if [[ -e "$DISTDIR/terraform-plus-v$FULL_PLUS_VERSION-darwin.zip" ]]; then
openssl dgst -sha256 "$DISTDIR/terraform-plus-v$FULL_PLUS_VERSION-darwin.zip"
fi
exit 0

0 comments on commit fc385b6

Please sign in to comment.