Skip to content

Commit 5057051

Browse files
committed
chore(ci): use release tag for kotlinx-io
1 parent 757298a commit 5057051

File tree

3 files changed

+3
-13
lines changed

3 files changed

+3
-13
lines changed

.teamcity/BuildParams.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ object BuildParams {
44
const val KOTLINX_COROUTINES_RELEASE_TAG = "1.9.0-RC"
55
const val KOTLINX_SERIALIZATION_RELEASE_TAG = "v1.7.3"
66
const val KOTLINX_DATETIME_RELEASE_TAG = "v0.6.0"
7-
const val KOTLINX_IO_RELEASE_TAG = "0.5.2"
7+
const val KOTLINX_IO_RELEASE_TAG = "0.5.4"
88
const val KOTLIN_RELEASE_TAG = "v2.0.20"
99

1010
const val SEARCH_APP_ID = "7961PKYRXV"

.teamcity/builds/apiReferences/kotlinx/io/KotlinxIOBuildApiReference.kt

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,23 +29,13 @@ object KotlinxIOBuildApiReference : BuildType({
2929
}
3030

3131
steps {
32-
scriptDropSnapshot {
33-
enabled = false
34-
}
32+
scriptDropSnapshot {}
3533
scriptDokkaVersionSync {
3634
enabled = false // TODO readme, and disable this step for other libs too
3735
}
3836
buildDokkaHTML {
3937
enabled = false // TODO add useGradlewWrapper = true
4038
}
41-
script {
42-
name = "Drop snapshot"
43-
scriptContent = """
44-
#!/bin/bash
45-
set -e -u
46-
sed -i -E "s/^(version=.+)-SNAPSHOT${'$'}/\1/gI" ./gradle.properties
47-
""".trimIndent()
48-
}
4939
script {
5040
name = "build api reference"
5141
scriptContent = """

.teamcity/builds/apiReferences/vcsRoots/KotlinxIO.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import jetbrains.buildServer.configs.kotlin.vcs.GitVcsRoot
66
object KotlinxIO : GitVcsRoot({
77
name = "kotlinx-io vcs root"
88
url = "[email protected]:Kotlin/kotlinx-io.git"
9-
branch = "refs/heads/ktl-1576-kotlinlang-api-ref"
9+
branch = "refs/tags/$KOTLINX_IO_RELEASE_TAG"
1010
branchSpec = """
1111
+:refs/heads/(*)
1212
+:refs/tags/(*)

0 commit comments

Comments
 (0)