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

Combine all release jobs into one stage #436

Merged
merged 1 commit into from
Mar 5, 2025
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
27 changes: 9 additions & 18 deletions .ado/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ extends:
'**/*.*'

stages:
- stage: ms_react_native_nuget_publish
displayName: Nuget ms/react-native feed
- stage: main_release
displayName: Publish packages
jobs:
- job: ms_react_native_nuget_job
displayName: Publish Nuget to ms/react-native
- job: nuget_ms_react_native_public_job
displayName: NuGet to ADO ms/react-native-public feed
templateContext:
inputs:
- input: pipelineArtifact
Expand All @@ -72,11 +72,8 @@ extends:
externalEndpoint: 'Nuget - ms/react-native-public'
publishPackageMetadata: true

- stage: ms_react_native_npm_publish
displayName: npm ms/react-native feed
jobs:
- job: ms_react_native_npm_job
displayName: Agent job
- job: npm_ms_react_native_job
displayName: NPM to ADO ms/react-native feed
templateContext:
inputs:
- input: pipelineArtifact
Expand Down Expand Up @@ -114,11 +111,8 @@ extends:
cd $(Pipeline.Workspace)\published-packages
for %%i in (*.tgz) do npm publish %%i

- stage: nuget_org_publish
displayName: Nuget nuget.org feed
jobs:
- job: nuget_org_job
displayName: Publish Nuget to nuget.org
displayName: NuGet to nuget.org
templateContext:
inputs:
- input: pipelineArtifact
Expand Down Expand Up @@ -153,11 +147,8 @@ extends:
-Verbosity Detailed
displayName: 'NuGet push (nuget.org)'

- stage: npmjs_com_npm_publish
displayName: npm npmjs.com feed
jobs:
- job: npmjs_com_npm_job
displayName: Publish to npmjs.com
- job: npmjs_com_job
displayName: NPM to npmjs.com
templateContext:
inputs:
- input: pipelineArtifact
Expand Down