mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 05:45:59 +03:00
fix: ignore .git directory while generating the release file
This commit is contained in:
parent
04f7009980
commit
a2427df27f
@ -11,7 +11,7 @@ MY_DIR=${PWD##*/}
|
|||||||
./build.sh
|
./build.sh
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
tar --transform "s/^$MY_DIR/$DIR_NAME/" -cvzf $TAR_NAME $MY_DIR
|
tar --transform "s/^$MY_DIR/$DIR_NAME/" -cvzf $TAR_NAME --exclude .git $MY_DIR
|
||||||
|
|
||||||
sha256sum $TAR_NAME > $TAR_NAME.sha256
|
sha256sum $TAR_NAME > $TAR_NAME.sha256
|
||||||
gpg --detach-sign -a $TAR_NAME
|
gpg --detach-sign -a $TAR_NAME
|
||||||
|
Loading…
x
Reference in New Issue
Block a user