mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
Update azure-pipelines-servermanagers-build.yml
This commit is contained in:
parent
c5b38cb337
commit
8fd57d5fe8
1 changed files with 5 additions and 0 deletions
|
|
@ -53,12 +53,17 @@ stages:
|
|||
displayName: Tag Files
|
||||
env:
|
||||
DEPLOY_BUILDNUMBER: $(Build.BuildNumber)
|
||||
DEPLOY_REQUESTEDFOREMAIL: $(Build.RequestedForEmail)
|
||||
DEPLOY_REQUESTEDFOR: $(Build.RequestedFor)
|
||||
inputs:
|
||||
targetType: inline
|
||||
script: |
|
||||
$appVersion = $env:DEPLOY_BUILDNUMBER
|
||||
$tag = $appVersion
|
||||
|
||||
git config user.email "$env:DEPLOY_REQUESTEDFOREMAIL"
|
||||
git config user.name "$env:DEPLOY_REQUESTEDFOR"
|
||||
|
||||
Write-Host "Performing Git Tag Delete"
|
||||
git tag -d $tag
|
||||
git push origin :refs/tags/$tag
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue