mirror of https://github.com/gorhill/uBlock.git
[mv3] Fix build script
This commit is contained in:
parent
8533fa74ee
commit
e1e861704b
|
@ -125,7 +125,7 @@ echo "*** uBOLite.mv3: extension ready"
|
||||||
echo "Extension location: $DES/"
|
echo "Extension location: $DES/"
|
||||||
|
|
||||||
# Local build: use a different extension id than the official one
|
# Local build: use a different extension id than the official one
|
||||||
if [ -z "$TAGNAME" ]; then
|
if [ -z "$TAGNAME" ] && [ "$PLATFORM" = "firefox" ]; then
|
||||||
tmp=$(mktemp)
|
tmp=$(mktemp)
|
||||||
jq '.browser_specific_settings.gecko.id = "uBOLite.dev@raymondhill.net"' "$DES/manifest.json" > "$tmp" \
|
jq '.browser_specific_settings.gecko.id = "uBOLite.dev@raymondhill.net"' "$DES/manifest.json" > "$tmp" \
|
||||||
&& mv "$tmp" "$DES/manifest.json"
|
&& mv "$tmp" "$DES/manifest.json"
|
||||||
|
|
Loading…
Reference in New Issue