Skip to content

Commit

Permalink
Merge pull request dabealu#26 from alexnoz/tar-foldername-fix
Browse files Browse the repository at this point in the history
Fix folder name inside the tarball
  • Loading branch information
dabealu authored Apr 23, 2020
2 parents b6bcbb4 + 0803bde commit 9a16756
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
for OS in linux darwin; do
echo "building binary for ${OS}"
GOOS=${OS} GOARCH=amd64 go build -v -o zookeeper-exporter
tar -czvf zookeeper-exporter-${{ steps.v.outputs.tag }}-${OS}.tar.gz --transform 's,^,zookeeper-exporter-${{ steps.v.outputs.tag }}-${OS}/,' zookeeper-exporter
tar -czvf zookeeper-exporter-${{ steps.v.outputs.tag }}-${OS}.tar.gz --transform "s,^,zookeeper-exporter-${{ steps.v.outputs.tag }}-${OS}/," zookeeper-exporter
done
ls -lh
Expand Down

0 comments on commit 9a16756

Please sign in to comment.