Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ parameters:
default: $(Pipeline.Workspace)/.pnpm-store

jobs:
# Note: must be kept in sync with the name of the dependsOn job below
- deployment: publish_${{ replace(parameters.environment, '-', '_') }}
displayName: Publish ${{ parameters.environment }}
pool: ${{ parameters.pool }}
Expand Down Expand Up @@ -94,6 +95,15 @@ jobs:
feedKind: ${{ parameters.feedKind }}
publishFlags: ${{ parameters.publishFlags }}

- template: /tools/pipelines/templates/include-git-tag-steps.yml@self
parameters:
tagName: ${{ parameters.tagName }}
- job: TagRelease
displayName: Tag Release
# Note: must be kept in sync with the name of the deployment job above
dependsOn: publish_${{ replace(parameters.environment, '-', '_') }}
# Only tag the repo if a tag name is provided.
condition: and(succeeded(), ne(parameters.tagName, ''))
steps:
- checkout: self
clean: true
- template: /tools/pipelines/templates/include-git-tag-steps.yml@self
parameters:
tagName: ${{ parameters.tagName }}