Skip to content

Commit a7580d6

Browse files
committed
Fixed the build
Started using the new properties on the Gradle tasks
1 parent 9bb07e2 commit a7580d6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

gradle/shipkit.gradle

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ apply plugin: "org.shipkit.shipkit-gh-release"
44

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

@@ -13,7 +13,8 @@ tasks.named("githubRelease") {
1313
dependsOn genTask
1414
repository = genTask.repository
1515
changelog = genTask.outputFile
16-
writeToken = System.getenv("GITHUB_TOKEN")
16+
githubToken = System.getenv("GITHUB_TOKEN")
17+
newTagRevision = System.getenv("GIT_SHA")
1718
}
1819

1920
apply plugin: 'com.jfrog.bintray'

0 commit comments

Comments
 (0)