Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use eng/common template for create-tags-and-git-release #44921

Merged
merged 2 commits into from
Jul 9, 2024
Merged
Show file tree
Hide file tree
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
20 changes: 5 additions & 15 deletions eng/pipelines/templates/jobs/mgmt-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,21 +39,11 @@ jobs:

- ${{ if and(eq(parameters.ShouldPublishToNuget, 'true'), eq(variables['Build.Repository.Name'], 'Azure/azure-sdk-for-net')) }}:

- task: Powershell@2
displayName: 'Verify Package Tags and Create Git Releases'
inputs:
filePath: ${{ parameters.BuildToolsPath }}/scripts/create-tags-and-git-release.ps1
arguments: >
-artifactLocation '$(PIPELINE.WORKSPACE)/packages'
-workingDirectory $(System.DefaultWorkingDirectory)
-packageRepository 'Nuget'
-releaseSha '$(Build.SourceVersion)'
-repoOwner 'Azure'
-repoName 'azure-sdk-for-net'
pwsh: true
env:
GH_TOKEN: $(azuresdk-github-pat)
condition: and(succeeded(), ne(variables['SkipCreateTagAndGitRelease'], 'true'))
- template: /eng/common/pipelines/templates/steps/create-tags-and-git-release.yml
parameters:
ArtifactLocation: '$(PIPELINE.WORKSPACE)/packages'
PackageRepository: Nuget
ReleaseSha: $(Build.SourceVersion)

- template: pipelines/steps/publish-symbols.yml@azure-sdk-build-tools
displayName: 'Upload Symbols'
Expand Down
1 change: 0 additions & 1 deletion eng/pipelines/templates/stages/archetype-net-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ stages:
ArtifactLocation: $(Pipeline.Workspace)/${{parameters.ArtifactName}}-signed/${{artifact.name}}
PackageRepository: Nuget
ReleaseSha: $(Build.SourceVersion)
RepoId: Azure/azure-sdk-for-net

- ${{if ne(artifact.skipPublishPackage, 'true')}}:
- deployment: PublishPackage
Expand Down