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 7a410f2 commit 150a631Copy full SHA for 150a631
release.sh
@@ -0,0 +1,20 @@
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-apache-$VERSION"
8
+TAR_NAME="modsecurity-apache-$VERSION.tar.gz"
9
10
+MY_DIR=${PWD##*/}
11
12
+cd ..
13
+tar --transform "s/^$MY_DIR/$DIR_NAME/" -cvzf $TAR_NAME --exclude .git $MY_DIR
14
15
+sha256sum $TAR_NAME > $TAR_NAME.sha256
16
+gpg --detach-sign -a $TAR_NAME
17
18
+cd -
19
+echo $TAR_NAME ": done."
20
0 commit comments