Skip to content

Commit bf0caa4

Browse files
authored
Temporarily exclude Embedding from NuGet.org releases (#519)
1 parent efaf38d commit bf0caa4

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

‎.ado/release.yml‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ trigger: none
1111
pr: none
1212
name: $(Date:yyyyMMdd).$(Rev:r)
1313

14+
parameters:
15+
- name: publishEmbeddingPackage
16+
displayName: Publish Embedding package to NuGet.org (requires ESRP registration)
17+
type: boolean
18+
default: false
19+
1420
resources:
1521
pipelines:
1622
- pipeline: 'microsoft_node-api-dotnet_ci'
@@ -177,6 +183,12 @@ extends:
177183
Microsoft.JavaScript.NodeApi.*.snupkg
178184
TargetFolder: '$(Agent.TempDirectory)\esrp-nuget\react-native-windows'
179185

186+
- ${{ if not(parameters.publishEmbeddingPackage) }}:
187+
- pwsh: |
188+
Get-ChildItem -LiteralPath '$(Agent.TempDirectory)\esrp-nuget\react-native-windows' -Filter 'Microsoft.JavaScript.NodeApi.Embedding.*' -File -ErrorAction Stop |
189+
Remove-Item -Verbose -ErrorAction Stop
190+
displayName: Exclude Embedding package pending ESRP registration
191+
180192
- pwsh: |
181193
Get-ChildItem -LiteralPath '$(Agent.TempDirectory)\esrp-nuget\react-native-windows' -Recurse -ErrorAction Stop
182194
displayName: Show ESRP submission directory contents

0 commit comments

Comments
 (0)