Update magisk.yml

This commit is contained in:
Peter Njeim 2022-07-08 18:55:46 +03:00 committed by GitHub
parent 69d95c35eb
commit 94f002ce72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -660,19 +660,19 @@ jobs:
if [[ "$root" = "none" ]]; then
rootVer=""
elif [[ "$root" = "" ]]; then
rootVer="_Magisk $(curl -s https://raw.githubusercontent.com/topjohnwu/magisk-files/master/$magisk.json | jq -r ".magisk.version")"
rootVer="_Magisk-$(curl -s https://raw.githubusercontent.com/topjohnwu/magisk-files/master/$magisk.json | jq -r ".magisk.version")"
else
rootVer="_Magisk $(curl -s https://raw.githubusercontent.com/topjohnwu/magisk-files/master/$magisk.json | jq -r ".magisk.version")"
rootVer="_Magisk-$(curl -s https://raw.githubusercontent.com/topjohnwu/magisk-files/master/$magisk.json | jq -r ".magisk.version")"
fi
if [[ "$variant" = "none" || "$variant" = "" ]]; then
gappsVer=""
else
gappsVer="_${variant} GApps"
gappsVer="_${variant}-GApps"
fi
if [[ "$amazon" == "remove" ]]; then
amazonVer=""
else
amazonVer="_Amazon App Store"
amazonVer="_Amazon-App-Store"
fi
echo "release_asset_name=WSA_${{ env.WSA_VER }}$rootVer$gappsVer$amazonVer_${{ matrix.arch }}" >> $GITHUB_ENV
- name: Compress