Skip to content

Commit 2473526

Browse files
authored
Merge pull request #31 from shestee/master
Apply new Shipkit Changelog plugin properties
2 parents f5f0707 + ebc12a4 commit 2473526

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

gradle/shipkit.gradle

+3-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ apply plugin: "org.shipkit.shipkit-gh-release"
55

66
tasks.named("generateChangelog") {
77
previousRevision = project.ext.'shipkit-auto-version.previous-tag'
8-
readOnlyToken = System.getenv("GITHUB_TOKEN")
8+
githubToken = System.getenv("GITHUB_TOKEN")
99
repository = "mockito/mockito-testng"
1010
}
1111

@@ -14,5 +14,6 @@ tasks.named("githubRelease") {
1414
dependsOn genTask
1515
repository = genTask.repository
1616
changelog = genTask.outputFile
17-
writeToken = System.getenv("GITHUB_TOKEN")
17+
githubToken = System.getenv("GITHUB_TOKEN")
18+
newTagRevision = System.getenv("GITHUB_SHA")
1819
}

0 commit comments

Comments
 (0)