Skip to content

Commit

Permalink
module: include versionCode in version string
Browse files Browse the repository at this point in the history
  • Loading branch information
j-hc committed Oct 22, 2024
1 parent 45bcce5 commit 6f491ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ jobs:
cp -f build.tmp build.md
get_update_json() {
echo "{
\"version\": \"$1\",
\"versionCode\": ${{ steps.next_ver_code.outputs.NEXT_VER_CODE}},
\"version\": \"$1 (${{ steps.next_ver_code.outputs.NEXT_VER_CODE }})\",
\"versionCode\": ${{ steps.next_ver_code.outputs.NEXT_VER_CODE }},
\"zipUrl\": \"$2\",
\"changelog\": \"https://raw.githubusercontent.com/$GITHUB_REPOSITORY/update/build.md\"
}"
Expand Down
2 changes: 1 addition & 1 deletion utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ MODULE_ARCH=$ma" >"$1/config"
module_prop() {
echo "id=${1}
name=${2}
version=v${3}
version=v${3} (${NEXT_VER_CODE})
versionCode=${NEXT_VER_CODE}
author=j-hc
description=${4}" >"${6}/module.prop"
Expand Down

0 comments on commit 6f491ad

Please sign in to comment.