mirror of
https://github.com/j-hc/revanced-magisk-module.git
synced 2025-04-29 22:24:34 +02:00
module: include versionCode in version string
This commit is contained in:
parent
45bcce5986
commit
6f491ad481
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -78,8 +78,8 @@ jobs:
|
|||||||
cp -f build.tmp build.md
|
cp -f build.tmp build.md
|
||||||
get_update_json() {
|
get_update_json() {
|
||||||
echo "{
|
echo "{
|
||||||
\"version\": \"$1\",
|
\"version\": \"$1 (${{ steps.next_ver_code.outputs.NEXT_VER_CODE }})\",
|
||||||
\"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\"
|
||||||
}"
|
}"
|
||||||
|
2
utils.sh
2
utils.sh
@ -598,7 +598,7 @@ MODULE_ARCH=$ma" >"$1/config"
|
|||||||
module_prop() {
|
module_prop() {
|
||||||
echo "id=${1}
|
echo "id=${1}
|
||||||
name=${2}
|
name=${2}
|
||||||
version=v${3}
|
version=v${3} (${NEXT_VER_CODE})
|
||||||
versionCode=${NEXT_VER_CODE}
|
versionCode=${NEXT_VER_CODE}
|
||||||
author=j-hc
|
author=j-hc
|
||||||
description=${4}" >"${6}/module.prop"
|
description=${4}" >"${6}/module.prop"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user