Skip to content

Commit

Permalink
Fix script
Browse files Browse the repository at this point in the history
  • Loading branch information
daniellohausen committed Dec 2, 2019
1 parent d426af0 commit 0793fe3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions create_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ fi
RELEASE_DIR="/tmp/terraform-provider-jumpcloud/releases/$1"

echo "Creating source archive"
tar -cvf "${RELEASE_DIR}/source-{$1}.tar.gz" ./
tar -cvf "${RELEASE_DIR}/source-$1.tar.gz" ./

mkdir -p "${RELEASE_DIR}"
for GOARCH in 386 amD64
for GOARCH in 386 amd64
do
for GOOS in darwin linux
do
Expand All @@ -24,7 +24,7 @@ do
done

echo "Creating md5 checksum"
md5sum "${TARGETS}" > "${RELEASE_DIR}/checksum-md5.txt"
md5sum ${TARGETS} > "${RELEASE_DIR}/checksum-md5.txt"

echo "Creating sh1 checksum"
sha1sum "${TARGETS}" > "${RELEASE_DIR}/checksum-sha1.txt"
sha1sum ${TARGETS} > "${RELEASE_DIR}/checksum-sha1.txt"

0 comments on commit 0793fe3

Please sign in to comment.