We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cca3642 commit 04f7009Copy full SHA for 04f7009
build/release.sh
@@ -0,0 +1,21 @@
1
+#!/bin/bash
2
+
3
+git clean -xfdi
4
+git submodule foreach --recursive git clean -xfdi
5
6
+VERSION=`git describe --tags`
7
+DIR_NAME="modsecurity-$VERSION"
8
+TAR_NAME="modsecurity-$VERSION.tar.gz"
9
10
+MY_DIR=${PWD##*/}
11
+./build.sh
12
13
+cd ..
14
+tar --transform "s/^$MY_DIR/$DIR_NAME/" -cvzf $TAR_NAME $MY_DIR
15
16
+sha256sum $TAR_NAME > $TAR_NAME.sha256
17
+gpg --detach-sign -a $TAR_NAME
18
19
+cd -
20
+echo $TAR_NAME ": done."
21
0 commit comments