Compare commits

...

12 Commits

4 changed files with 43 additions and 12 deletions

View File

@@ -1,5 +1,29 @@
# Changelog
## 10.9.0
* `Versions`:
* `kotlin`: `2.2.20`
* `microutils`: `0.26.6`
* `tgbotapi`: `30.0.0`
* `koin`: `4.1.1`
## 10.8.0
* `Versions`:
* `kotlin`: `2.2.10`
* `microutils`: `0.26.3`
* `tgbotapi`: `28.0.1`
## 10.7.0
* `Versions`:
* `kotlin`: `2.2.0`
* `serialization`: `1.9.0`
* `microutils`: `0.26.2`
* `tgbotapi`: `27.1.1`
* `koin`: `4.1.0`
## 10.6.0
* `Versions`:

View File

@@ -11,12 +11,19 @@ private String getCurrentVersionChangelog() {
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
releaseAssets.from('bot/build/distributions')

View File

@@ -5,4 +5,4 @@ kotlin.js.generate.externals=true
kotlin.incremental=true
group=dev.inmo
version=10.6.0
version=10.9.0

View File

@@ -1,24 +1,24 @@
[versions]
kt = "2.1.20"
kt-serialization = "1.8.1"
kt = "2.2.20"
kt-serialization = "1.9.0"
kt-coroutines = "1.10.2"
microutils = "0.25.8"
tgbotapi = "26.0.0"
microutils = "0.26.6"
tgbotapi = "30.0.0"
ksp = "2.1.20-1.0.31"
ksp = "2.2.20-2.0.4"
jb-exposed = "0.61.0"
jb-dokka = "2.0.0"
jb-dokka = "2.1.0"
sqlite = "3.50.1.0"
gh-release = "2.5.2"
koin = "4.0.4"
koin = "4.1.1"
nmcp = "0.2.1"
nmcp = "1.2.0"
[libraries]