Skip to content

Commit

Permalink
need to use -r flag with zip
Browse files Browse the repository at this point in the history
otherwise only the literal folder and nothing inside the folder is
zipped up

Signed-off-by: Taylor Silva <dev@taydev.net>
  • Loading branch information
taylorsilva committed Oct 26, 2024
1 parent e1f4979 commit a4c001d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/concourse-build/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ pushd $output
if [ "$GOOS" = "windows" ]; then
archive=concourse-${version}.${GOOS}.${GOARCH}.zip
apt-get update && apt-get install -y zip
zip "$archive" concourse
zip -r "$archive" concourse
elif [ "$GOOS" = "darwin" ]; then
archive=concourse-${version}.${GOOS}.${GOARCH}.tgz
tar -czf "$archive" concourse
Expand Down

0 comments on commit a4c001d

Please sign in to comment.