Skip to content

Commit

Permalink
Merge pull request cheelim1#15 from CognotektGmbH/dln/fix-release-script
Browse files Browse the repository at this point in the history
Fix script
  • Loading branch information
abc11h authored Feb 4, 2020
2 parents d426af0 + 0793fe3 commit 1e0b67e
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 1e0b67e

Please sign in to comment.