Skip to content

Commit 1a55341

Browse files
authored
Merge pull request #337 from mockito/fix-build
Fixed the build
2 parents 9bb07e2 + a7580d6 commit 1a55341

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
@@ -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)