Update github_release.gradle

This commit is contained in:
2025-06-27 10:03:30 +06:00
committed by GitHub
parent e9bf2dfc64
commit ad23cc9202

View File

@@ -20,9 +20,10 @@ if (secretFile.exists() || project.hasProperty(githubTokenVariableName) || (gith
apply from: './secret.gradle'
}
apply plugin: "com.github.breadmoirai.github-release"
def githubReleaseToken = project.hasProperty(githubTokenVariableName) ? project.property(githubTokenVariableName).toString() : githubTokenVariableFromEnv
githubRelease {
token "${project.property('GITHUB_RELEASE_TOKEN')}"
token githubReleaseToken
releaseAssets.from('bot/build/distributions')