mirror of
https://github.com/InsanusMokrassar/krontab.git
synced 2025-12-05 12:35:47 +00:00
Compare commits
3 Commits
2.7.2
...
renovate/k
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1d9b6eaae2 | ||
| 2cce483dc8 | |||
| fe5cdbefe8 |
@@ -11,12 +11,20 @@ private String getCurrentVersionChangelog(String version) {
|
||||
return changelogDataOS.toString().trim()
|
||||
}
|
||||
|
||||
if (new File(projectDir, "secret.gradle").exists()) {
|
||||
apply from: './secret.gradle'
|
||||
|
||||
def githubTokenVariableName = "GITHUB_RELEASE_TOKEN"
|
||||
def githubTokenVariableFromEnv = System.getenv(githubTokenVariableName)
|
||||
|
||||
def secretFile = new File(projectDir, "secret.gradle")
|
||||
if (secretFile.exists() || project.hasProperty(githubTokenVariableName) || (githubTokenVariableFromEnv != "" && githubTokenVariableFromEnv != null)) {
|
||||
if (secretFile.exists()) {
|
||||
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
|
||||
|
||||
owner = "InsanusMokrassar"
|
||||
repo = "${rootProject.name}"
|
||||
|
||||
@@ -11,7 +11,7 @@ android.enableJetifier=false
|
||||
|
||||
kotlin_version=2.1.10
|
||||
kotlin_coroutines_version=1.10.1
|
||||
kotlin_serialization_version=1.8.0
|
||||
kotlin_serialization_version=1.9.0
|
||||
|
||||
dokka_version=2.0.0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user