mirror of
https://github.com/MaxiFan/TunnelX.git
synced 2026-05-17 21:14:37 +03:00
Fix release tag existence check
This commit is contained in:
@@ -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."
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user