Skip to content

Commit

Permalink
Add platform to archive names
Browse files Browse the repository at this point in the history
  • Loading branch information
n1hility committed May 21, 2020
1 parent 6deb31a commit a9775f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ go get
for i in $PLATFORMS; do
rm -rf target/$i; mkdir -p target/$i/$NAME
GOOS=$i go build -o target/$i/$NAME
(cd target/$i; tar czvf $NAME-$VERSION.tar.gz $NAME; zip $NAME-$VERSION.zip -r $NAME)
(cd target/$i; tar czvf $NAME-$VERSION-$i.tar.gz $NAME; zip $NAME-$VERSION-$i.zip -r $NAME)
done;

0 comments on commit a9775f3

Please sign in to comment.