Skip to content

Commit 7d3d278

Browse files
committed
app/build.gradle.kts: Update changelog link to point to the specific tag
This ensures that Magisk Manager will always show the correct changelog, without mentions of unreleased changes in the master branch. Signed-off-by: Andrew Gunnerson <[email protected]>
1 parent 77cb3d6 commit 7d3d278

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/build.gradle.kts

+1-2
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,6 @@ android.applicationVariants.all {
328328
tasks.register("updateJson${capitalized}") {
329329
inputs.property("gitVersionTriple.first", gitVersionTriple.first)
330330
inputs.property("projectUrl", projectUrl)
331-
inputs.property("releaseMetadataBranch", releaseMetadataBranch)
332331
inputs.property("variant.name", variant.name)
333332
inputs.property("variant.versionCode", variant.versionCode)
334333
inputs.property("variant.versionName", variant.versionName)
@@ -349,7 +348,7 @@ android.applicationVariants.all {
349348
root.put("version", variant.versionName)
350349
root.put("versionCode", variant.versionCode)
351350
root.put("zipUrl", "${projectUrl}/releases/download/${gitVersionTriple.first}/BCR-${variant.versionName}-release.zip")
352-
root.put("changelog", "${projectUrl}/raw/${releaseMetadataBranch}/app/magisk/updates/${variant.name}/changelog.txt")
351+
root.put("changelog", "${projectUrl}/raw/v${variant.versionName}/app/magisk/updates/${variant.name}/changelog.txt")
353352

354353
jsonFile.writer().use {
355354
root.write(it, 4, 0)

0 commit comments

Comments
 (0)