-
Notifications
You must be signed in to change notification settings - Fork 282
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Felipe Zimmerle
committed
Dec 22, 2017
1 parent
9fbcc24
commit c0ae166
Showing
3 changed files
with
52 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
DD mmm YYYY - 1.0.0 | ||
|
||
v1.0.0 - 2017-Dec-20 | ||
-------------------- | ||
|
||
* First version of the ModSecurity-nginx | ||
[Felipe Zimmerle] | ||
- First version of ModSecurity-nginx connector | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/bin/bash | ||
|
||
git clean -xfdi | ||
git submodule foreach --recursive git clean -xfdi | ||
|
||
VERSION=`git describe --tags` | ||
DIR_NAME="modsecurity-nginx-$VERSION" | ||
TAR_NAME="modsecurity-nginx-$VERSION.tar.gz" | ||
|
||
MY_DIR=${PWD##*/} | ||
|
||
cd .. | ||
tar --transform "s/^$MY_DIR/$DIR_NAME/" -cvzf $TAR_NAME --exclude .git $MY_DIR | ||
|
||
sha256sum $TAR_NAME > $TAR_NAME.sha256 | ||
gpg --detach-sign -a $TAR_NAME | ||
|
||
cd - | ||
echo $TAR_NAME ": done." | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters