Skip to content

Commit

Permalink
Fix the incorrect condition in release actions
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexPl292 committed Nov 22, 2023
1 parent 2f86ac0 commit 85f0664
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ tasks.register("releaseActions") {
setYoutrackStatus(tickets, "Fixed")
println("Checking if version $version exists...")
val versionId = getVersionIdByName(version.toString())
if (versionId != null) {
if (versionId == null) {
addReleaseToYoutrack(version.toString())
} else {
println("Version $version already exists in YouTrack. Version id: $versionId")
Expand Down

0 comments on commit 85f0664

Please sign in to comment.