Remove git tag pipeline task (#700)

This commit is contained in:
Sharon Hart
2021-05-10 15:47:36 +03:00
committed by GitHub
parent 5b1deb62bd
commit cd9ebde391

View File

@@ -31,20 +31,6 @@ stages:
displayName: Set Image Version
name: setImageVer
- job: createGitTag
displayName: Create Git Tag
dependsOn: version
variables:
version: $[ dependencies.Version.outputs['setVer.version'] ]
steps:
- checkout: self
persistCredentials: true
# Start by removing the tag, to override the old tag commit, if the version wasn't changed.
- script: |
git push --delete origin $(version)
git tag $(version)
git push origin $(version)
- job: githubRelease
displayName: GitHub Release
# Don't fail the job and continue to the deployment, if the version already exists