build(gradle): auto-rewrite update.json on packaging

Previously module/update.json had to be hand-bumped to keep
versionCode and zipUrl in lockstep with module.prop's expanded
$gitCommitCount. Wire a refreshUpdateJson task to the
prepareModuleFiles${variant} pipeline so every zipDebug/zipRelease
regenerates the file from current verName and gitCommitCount.
This commit is contained in:
Enginex0
2026-05-19 03:25:58 +01:00
parent ee6770bcc7
commit 813ff814ea
2 changed files with 32 additions and 3 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
{
"version": "v6.0.0",
"versionCode": 162,
"zipUrl": "https://github.com/Enginex0/TEESimulator-RS/releases/download/v6.0.0-162/TEESimulator-RS-v6.0.0-162-Release.zip",
"version": "v6.0.0-171",
"versionCode": 171,
"zipUrl": "https://github.com/Enginex0/TEESimulator-RS/releases/download/v6.0.0-171/TEESimulator-RS-v6.0.0-171-Release.zip",
"changelog": "https://raw.githubusercontent.com/Enginex0/TEESimulator-RS/main/module/changelog.md"
}