File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,15 +38,15 @@ if [ "$1" == "bump" ]; then
3838 echo " Bumping to $VER "
3939 git add " $MANIFEST_IN "
4040 git commit -m " Version bump: $VER ."
41- [[ $VER == * rc* ]] || " $0 " tag
41+ [[ $VER == * rc* ]] || " $0 " tag
4242 exit
4343fi
4444XPI_DIR=" $BASE /xpi"
4545XPI=" $XPI_DIR /noscript-$VER "
4646LIB=" $SRC /lib"
4747TLD=" $BASE /TLD"
4848
49- if ! [ $( date -r " $LIB /tld.js" +' %Y%m%d' ) -ge $( date +' %Y%m%d' ) ] && " $TLD /generate.sh" " $LIB /tld.js" ; then
49+ if ! [ $( date -r " $LIB /tld.js" +' %Y%m%d' ) -ge $( date +' %Y%m%d' ) -a " $1 " != " tld " ] && " $TLD /generate.sh" " $LIB /tld.js" ; then
5050 cp -u " $TLD /tld.js" " $LIB "
5151fi
5252
@@ -58,7 +58,7 @@ cp -p LICENSE.txt GPL.txt "$BUILD"/
5858
5959BUILD_CMD=" web-ext"
6060BUILD_OPTS=" build"
61-
61+
6262if [[ $VER == * rc* ]]; then
6363 sed -re ' s/^(\s+)"strict_min_version":.*$/\1"update_url": "https:\/\/secure.informaction.com\/update\/?v=' $VER ' ",\n\0/' \
6464 " $MANIFEST_IN " > " $MANIFEST_OUT "
You can’t perform that action at this time.
0 commit comments