mirror of
https://github.com/zigzap/zap.git
synced 2025-10-21 07:34:08 +00:00
fixed create-archive.sh dirty check
This commit is contained in:
parent
5a942869a9
commit
ff8c0809cb
1 changed files with 2 additions and 2 deletions
|
@ -16,8 +16,6 @@ fi
|
||||||
git archive --format=tar.gz -o ${tag}.tar.gz --prefix=zap-$tag/ HEAD
|
git archive --format=tar.gz -o ${tag}.tar.gz --prefix=zap-$tag/ HEAD
|
||||||
|
|
||||||
if [ git diff --quiet ] ; then
|
if [ git diff --quiet ] ; then
|
||||||
./zig-out/bin/pkghash -g --tag=$tag --template=doc/release-template.md
|
|
||||||
else
|
|
||||||
if [ "$override" == "--override" ] ; then
|
if [ "$override" == "--override" ] ; then
|
||||||
./zig-out/bin/pkghash -g --tag=$tag --template=doc/release-template.md
|
./zig-out/bin/pkghash -g --tag=$tag --template=doc/release-template.md
|
||||||
else
|
else
|
||||||
|
@ -30,4 +28,6 @@ else
|
||||||
echo "To skip this message and do the pkghash thing anyway, supply the"
|
echo "To skip this message and do the pkghash thing anyway, supply the"
|
||||||
echo "--override parameter"
|
echo "--override parameter"
|
||||||
fi
|
fi
|
||||||
|
else
|
||||||
|
./zig-out/bin/pkghash -g --tag=$tag --template=doc/release-template.md
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue