1
0
Fork 0
mirror of https://github.com/zigzap/zap.git synced 2025-10-20 15:14:08 +00:00

fixed create-archive.sh dirty check

This commit is contained in:
Rene Schallner 2023-05-01 06:06:52 +02:00
parent 5a942869a9
commit ff8c0809cb

View file

@ -16,8 +16,6 @@ fi
git archive --format=tar.gz -o ${tag}.tar.gz --prefix=zap-$tag/ HEAD
if [ git diff --quiet ] ; then
./zig-out/bin/pkghash -g --tag=$tag --template=doc/release-template.md
else
if [ "$override" == "--override" ] ; then
./zig-out/bin/pkghash -g --tag=$tag --template=doc/release-template.md
else
@ -30,4 +28,6 @@ else
echo "To skip this message and do the pkghash thing anyway, supply the"
echo "--override parameter"
fi
else
./zig-out/bin/pkghash -g --tag=$tag --template=doc/release-template.md
fi