Skip to content

Commit 01e9376

Browse files
Update github_release.gradle
1 parent 42bd073 commit 01e9376

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

github_release.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@ if (secretFile.exists() || project.hasProperty(githubTokenVariableName) || (gith
2020
apply from: './secret.gradle'
2121
}
2222
apply plugin: "com.github.breadmoirai.github-release"
23+
def githubReleaseToken = project.hasProperty(githubTokenVariableName) ? project.property(githubTokenVariableName).toString() : githubTokenVariableFromEnv
2324

2425
githubRelease {
25-
token "${project.property('GITHUB_RELEASE_TOKEN')}"
26+
token githubReleaseToken
2627

2728
owner = "InsanusMokrassar"
2829
repo = "PlaguBotPlugins"

0 commit comments

Comments
 (0)