Skip to content

Commit

Permalink
Use 'tag' build locator instead of deprecated 'tags' (#129)
Browse files Browse the repository at this point in the history
* Use 'tag' build locator instead of deprecated 'tags'
  • Loading branch information
Andronnix authored Nov 29, 2024
1 parent e510c48 commit 472a3a4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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" },
Expand Down

0 comments on commit 472a3a4

Please sign in to comment.