We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29980a8 commit 47f34f7Copy full SHA for 47f34f7
1 file changed
.github/workflows/ci.yml
@@ -189,5 +189,10 @@ jobs:
189
run: |
190
git config user.email "info@platform.uno"
191
git config user.name "Uno DevOps"
192
- git tag $env:NBGV_SemVer2
193
- git push origin $env:NBGV_SemVer2
+ git rev-parse --verify "refs/tags/$env:NBGV_SemVer2" 2>$null
+ if ($LASTEXITCODE -eq 0) {
194
+ Write-Host "Tag $env:NBGV_SemVer2 already exists, skipping."
195
+ } else {
196
+ git tag $env:NBGV_SemVer2
197
+ git push origin $env:NBGV_SemVer2
198
+ }
0 commit comments