Fix release tag existence check

This commit is contained in:
MaxFan
2026-05-12 17:09:25 +03:30
parent 834b0eff53
commit f7952e60a9
+2 -1
View File
@@ -89,7 +89,8 @@ jobs:
$tag = "v$version"
git fetch --tags origin
if (git rev-parse -q --verify "refs/tags/$tag") {
$existingTag = git tag --list $tag
if ($existingTag) {
throw "Tag $tag already exists."
}