Skip to content

Commit e3522e8

Browse files
committed
Don't worry about tarballing the structure
1 parent d117a23 commit e3522e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

script/build

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ do
4141

4242
printf "==> Tarballing %s\t%s\n" "$platform" "build/${output_name}.tar.gz" | expand -t 30
4343
if [ $GOOS = "windows" ]; then
44-
tar -czf "build/${output_name}.tar.gz" "build/${output_name}.exe"
44+
tar -czf "build/${output_name}.tar.gz" -C "build" "${output_name}.exe"
4545
else
46-
tar -czf "build/${output_name}.tar.gz" "build/${output_name}"
46+
tar -czf "build/${output_name}.tar.gz" -C "build" "${output_name}"
4747
fi
4848

4949
if [ $? -ne 0 ]; then

0 commit comments

Comments
 (0)