Skip to content

Commit

Permalink
re-add release template, update reference to azure-sdk-build-tools to…
Browse files Browse the repository at this point in the history
… fix the publishing issue
  • Loading branch information
scbedd committed Apr 8, 2024
1 parent 57c06d3 commit 2d2400f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion eng/pipelines/templates/stages/1es-redirect.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ resources:
- repository: azure-sdk-build-tools
type: git
name: internal/azure-sdk-build-tools
ref: refs/tags/azure-sdk-build-tools_20240320.1
ref: refs/heads/remove-optional-publish

parameters:
- name: stages
Expand Down
20 changes: 10 additions & 10 deletions eng/pipelines/templates/stages/archetype-sdk-tool-dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -194,16 +194,16 @@ extends:
Publish: false
ImageTag: "${{ parameters.DockerTagPrefix }}$(Build.BuildNumber)"

# - ${{if and(ne(variables['Build.Reason'], 'PullRequest'), eq(variables['System.TeamProject'], 'internal'))}}:
# - template: pipelines/stages/net-release-to-feed.yml@azure-sdk-build-tools
# parameters:
# # Publish to https://dev.azure.com/azure-sdk/public/_packaging?_a=feed&feed=azure-sdk-for-net
# DevOpsFeedId: '29ec6040-b234-4e31-b139-33dc4287b756/fa8c16a3-dbe0-4de2-a297-03065ec1ba3f'
# ExeMatrix: ${{ parameters.StandaloneExeMatrix }}
# ShouldPublishExecutables: ${{ parameters.ReleaseBinaries }}
# ShouldPublishSymbols: ${{ parameters.ShouldPublishSymbols }}
# RequireStrongNames: ${{ parameters.RequireStrongNames }}
# Use1ESTemplate: true
- ${{if and(ne(variables['Build.Reason'], 'PullRequest'), eq(variables['System.TeamProject'], 'internal'))}}:
- template: pipelines/stages/net-release-to-feed.yml@azure-sdk-build-tools
parameters:
# Publish to https://dev.azure.com/azure-sdk/public/_packaging?_a=feed&feed=azure-sdk-for-net
DevOpsFeedId: '29ec6040-b234-4e31-b139-33dc4287b756/fa8c16a3-dbe0-4de2-a297-03065ec1ba3f'
ExeMatrix: ${{ parameters.StandaloneExeMatrix }}
ShouldPublishExecutables: ${{ parameters.ReleaseBinaries }}
ShouldPublishSymbols: ${{ parameters.ShouldPublishSymbols }}
RequireStrongNames: ${{ parameters.RequireStrongNames }}
Use1ESTemplate: true

- ${{if and(not(eq(length(parameters.DockerDeployments), 0)), ne(variables['Build.Reason'], 'PullRequest'), eq(variables['System.TeamProject'], 'internal'))}}:
- stage: PublishDockerImages
Expand Down

0 comments on commit 2d2400f

Please sign in to comment.