Skip to content

Commit

Permalink
chore(ci): use release tag for kotlinx-io
Browse files Browse the repository at this point in the history
  • Loading branch information
zoobestik committed Oct 10, 2024
1 parent 7f4e510 commit 042806e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .teamcity/BuildParams.kt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ object BuildParams {
const val KOTLINX_COROUTINES_RELEASE_TAG = "1.9.0-RC"
const val KOTLINX_SERIALIZATION_RELEASE_TAG = "v1.7.2"
const val KOTLINX_DATETIME_RELEASE_TAG = "v0.6.0"
const val KOTLINX_IO_RELEASE_TAG = "0.5.2"
const val KOTLINX_IO_RELEASE_TAG = "0.5.4"
const val KOTLIN_RELEASE_TAG = "v2.0.20"

const val SEARCH_APP_ID = "7961PKYRXV"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,23 +29,13 @@ object KotlinxIOBuildApiReference : BuildType({
}

steps {
scriptDropSnapshot {
enabled = false
}
scriptDropSnapshot {}
scriptDokkaVersionSync {
enabled = false // TODO readme, and disable this step for other libs too
}
buildDokkaHTML {
enabled = false // TODO add useGradlewWrapper = true
}
script {
name = "Drop snapshot"
scriptContent = """
#!/bin/bash
set -e -u
sed -i -E "s/^(version=.+)-SNAPSHOT${'$'}/\1/gI" ./gradle.properties
""".trimIndent()
}
script {
name = "build api reference"
scriptContent = """
Expand Down
2 changes: 1 addition & 1 deletion .teamcity/builds/apiReferences/vcsRoots/KotlinxIO.kt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import jetbrains.buildServer.configs.kotlin.vcs.GitVcsRoot
object KotlinxIO : GitVcsRoot({
name = "kotlinx-io vcs root"
url = "[email protected]:Kotlin/kotlinx-io.git"
branch = "refs/heads/ktl-1576-kotlinlang-api-ref"
branch = "refs/tags/$KOTLINX_IO_RELEASE_TAG"
branchSpec = """
+:refs/heads/(*)
+:refs/tags/(*)
Expand Down

0 comments on commit 042806e

Please sign in to comment.