Merge pull request #521 from tgw314/patch-1

fix: remove duplicate versionCode in update.json
This commit is contained in:
j-hc 2024-10-26 14:28:29 +03:00 committed by GitHub
commit 76bc1055de
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -78,7 +78,7 @@ jobs:
cp -f build.tmp build.md cp -f build.tmp build.md
get_update_json() { get_update_json() {
echo "{ echo "{
\"version\": \"$1 (${{ steps.next_ver_code.outputs.NEXT_VER_CODE }})\", \"version\": \"$1\",
\"versionCode\": ${{ steps.next_ver_code.outputs.NEXT_VER_CODE }}, \"versionCode\": ${{ steps.next_ver_code.outputs.NEXT_VER_CODE }},
\"zipUrl\": \"$2\", \"zipUrl\": \"$2\",
\"changelog\": \"https://raw.githubusercontent.com/$GITHUB_REPOSITORY/update/build.md\" \"changelog\": \"https://raw.githubusercontent.com/$GITHUB_REPOSITORY/update/build.md\"