mirror of
https://github.com/data-privacy-stack/presidio.git
synced 2026-07-29 14:21:11 -05:00
Remove git tag pipeline task (#700)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user