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 0ad5f95 commit 8b183f9Copy full SHA for 8b183f9
1 file changed
build.sh
@@ -6,6 +6,11 @@ MANIFEST_IN="$SRC/manifest.json"
6
MANIFEST_OUT="$BUILD/manifest.json"
7
8
VER=$(grep '"version":' "$SRC/manifest.json" | sed -re 's/.*": "(.*?)".*/\1/')
9
+if [ "$1" == "tag" ]; then
10
+ echo "Tagging at $VER"
11
+ git tag -a "$VER" && git push origin "$VER"
12
+ exit 0
13
+fi
14
XPI_DIR="$BASE/xpi"
15
XPI="$XPI_DIR/noscript-$VER"
16
LIB="$SRC/lib"
0 commit comments