diff --git a/CHANGELOG.md b/CHANGELOG.md index 19a4ad3..d8da908 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ All notable changes to teamcity-rest-client library will be documented in this file. +## [3.0.1] +Stop using deprecated `tags` dimension to filter builds, use `tag` instead. + ## [3.0.0] - 2024-10-24 - Upgrade slf4j api, that is the reason for major version change: diff --git a/teamcity-rest-client-impl/src/main/kotlin/org/jetbrains/teamcity/rest/coroutines/implementation.kt b/teamcity-rest-client-impl/src/main/kotlin/org/jetbrains/teamcity/rest/coroutines/implementation.kt index aed7f1a..e5a03e9 100644 --- a/teamcity-rest-client-impl/src/main/kotlin/org/jetbrains/teamcity/rest/coroutines/implementation.kt +++ b/teamcity-rest-client-impl/src/main/kotlin/org/jetbrains/teamcity/rest/coroutines/implementation.kt @@ -542,7 +542,7 @@ private class BuildLocatorImpl(private val instance: TeamCityCoroutinesInstanceI status?.name?.let { "status:$it" }, agentName?.let { "agentName:$it" }, if (tags.isNotEmpty()) - tags.joinToString(",", prefix = "tags:(", postfix = ")") + tags.joinToString("),tag:(", prefix = "tag:(", postfix = ")") else null, if (pinnedOnly) "pinned:true" else null, count?.let { "count:$it" },