[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
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ if [ "$FULL" = "yes" ]; then
TAGNAME="uBOLite_$(jq -r .version $DES/manifest.json)" TAGNAME="uBOLite_$(jq -r .version $DES/manifest.json)"
else else
tmp=$(mktemp) 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" && mv "$tmp" "$DES/manifest.json"
fi fi
PACKAGENAME="$TAGNAME.$PLATFORM.mv3.$EXTENSION" PACKAGENAME="$TAGNAME.$PLATFORM.mv3.$EXTENSION"