Skip to content

Commit

Permalink
Merge pull request #223 from chenxiaolong/changelog
Browse files Browse the repository at this point in the history
app/build.gradle.kts: Update changelog link to point to the specific tag
  • Loading branch information
chenxiaolong authored Jan 14, 2023
2 parents 77cb3d6 + a12032e commit 398273e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -328,7 +328,6 @@ android.applicationVariants.all {
tasks.register("updateJson${capitalized}") {
inputs.property("gitVersionTriple.first", gitVersionTriple.first)
inputs.property("projectUrl", projectUrl)
inputs.property("releaseMetadataBranch", releaseMetadataBranch)
inputs.property("variant.name", variant.name)
inputs.property("variant.versionCode", variant.versionCode)
inputs.property("variant.versionName", variant.versionName)
@@ -349,7 +348,7 @@ android.applicationVariants.all {
root.put("version", variant.versionName)
root.put("versionCode", variant.versionCode)
root.put("zipUrl", "${projectUrl}/releases/download/${gitVersionTriple.first}/BCR-${variant.versionName}-release.zip")
root.put("changelog", "${projectUrl}/raw/${releaseMetadataBranch}/app/magisk/updates/${variant.name}/changelog.txt")
root.put("changelog", "${projectUrl}/raw/${gitVersionTriple.first}/app/magisk/updates/${variant.name}/changelog.txt")

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

0 comments on commit 398273e

Please sign in to comment.