mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 03:34:29 +03:00
fix: ignore .git directory while generating the release file
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user