Skip to content

Commit fb64d98

Browse files
committed
remove unwanted distribution artifacts
1 parent 7e8c8e8 commit fb64d98

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/dist.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@ if [[ "${DST}" != *"windows"* ]]; then
4141
# echo "Compressing tarbell"
4242
pushd dist || exit
4343
rm -f "${DSTNAME}.tar.gz"
44-
tar -zcf "${DSTNAME}.tar.gz" "${DSTNAME}"
44+
tar --exclude=".*" --owner=0 --group=0 -zcf "${DSTNAME}.tar.gz" "${DSTNAME}"
4545
popd
4646
else
4747
# echo "Compressing zip file"
4848
pushd dist || exit
4949
rm -f "${DSTNAME}.zip"
50-
zip -qr "${DSTNAME}.zip" "${DSTNAME}"
50+
zip --exclude .\* -qr "${DSTNAME}.zip" "${DSTNAME}"
5151
popd
5252
fi
5353

0 commit comments

Comments
 (0)