1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-07-05 11:37:01 +02:00

[mv3] Fix overiting of version in manifest

This commit is contained in:
Raymond Hill 2023-09-10 14:24:29 -04:00
parent 1db17ac4bf
commit 74d04f1945
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -129,7 +129,7 @@ if [ "$FULL" = "yes" ]; then
TAGNAME="uBOLite_$(jq -r .version $DES/manifest.json)"
else
tmp=$(mktemp)
jq --arg tagname "$TAGNAME" '.version = $tagname' "$DES/manifest.json" > "$tmp" \
jq --arg version "${TAGNAME:8}" '.version = $version' "$DES/manifest.json" > "$tmp" \
&& mv "$tmp" "$DES/manifest.json"
fi
PACKAGENAME="$TAGNAME.$PLATFORM.mv3.$EXTENSION"