Skip to content

Commit

Permalink
Stop publishing ReactUwp NuGet Package (#4753)
Browse files Browse the repository at this point in the history
* Stop publishing ReactHwp NuGet Package

We no longer support ReactUwp in 0.62. Stop publishing a NuGet package with it.

* Change files

* Remove stale variable

* Remove another stale var
  • Loading branch information
NickGerleman committed May 2, 2020
1 parent ecc73ad commit c994ef9
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 72 deletions.
4 changes: 1 addition & 3 deletions .ado/publish.yml
Expand Up @@ -162,9 +162,7 @@ jobs:
parameters:
artifactName: ReactWindows
layoutHeaders: eq('true', variables['LayoutHeaders'])
contents: |
ReactUWP\**
Microsoft.ReactNative\**
contents: Microsoft.ReactNative\**

# Disable for now, not sure this works on github projects anyway.
# - task: PublishSymbols@2
Expand Down
20 changes: 0 additions & 20 deletions .ado/templates/prep-and-pack-nuget.yml
Expand Up @@ -5,11 +5,9 @@ parameters:
nugetroot: $(System.DefaultWorkingDirectory)\ReactWindows
desktopId: 'OfficeReact.Win32'
microsoftRNId: 'Microsoft.ReactNative'
universalId: 'OfficeReact.UWP'
slices: '("x64.Release", "x64.Debug", "x86.Release", "x86.Debug", "ARM.Release", "ARM.Debug", "ARM64.Release", "ARM64.Debug")'
packDesktop: true
packMicrosoft: true
packUniversal: true

steps:
- task: DownloadBuildArtifacts@0
Expand All @@ -19,14 +17,6 @@ steps:
downloadPath: $(System.DefaultWorkingDirectory)

# Strip down the binaries from nuget because we may not have built all the flavours.
- task: PowerShell@2
displayName: Strip slices from ReactUwp.nuspec
inputs:
targetType: filePath
filePath: $(System.DefaultWorkingDirectory)\ReactWindows\StripAdditionalPlatformsFromNuspec.ps1
arguments: -nuspec $(System.DefaultWorkingDirectory)/ReactWindows/ReactUWP.nuspec -outfile $(System.DefaultWorkingDirectory)/ReactWindows/ReactUWP.nuspec -slices ("x64.Release", "x86.Debug", "ARM.Release")
condition: and(succeeded(), ${{ parameters.packUniversal }})

- task: PowerShell@2
displayName: Strip slices from Microsoft.ReactNative.nuspec
inputs:
Expand All @@ -45,16 +35,6 @@ steps:
buildProperties: CommitId=${{parameters.publishCommitId}};version=${{parameters.npmVersion}};id=${{parameters.desktopId}};nugetroot=${{parameters.nugetroot}}
condition: and(succeeded(), ${{ parameters.packDesktop }})

- task: NuGetCommand@2
displayName: 'NuGet pack Universal'
inputs:
command: pack
verbosityPack: 'Detailed'
packagesToPack: $(System.DefaultWorkingDirectory)/ReactWindows/ReactUWP.nuspec
packDestination: $(System.DefaultWorkingDirectory)/NugetRootFinal
buildProperties: CommitId=${{parameters.publishCommitId}};version=${{parameters.npmVersion}};id=${{parameters.universalId}};nugetroot=${{parameters.nugetroot}}
condition: and(succeeded(), ${{ parameters.packUniversal }})

- task: NuGetCommand@2
displayName: 'NuGet pack Microsoft.ReactNative'
inputs:
Expand Down
@@ -0,0 +1,8 @@
{
"type": "none",
"comment": "Stop publishing ReactHwp NuGet Package",
"packageName": "react-native-windows",
"email": "ngerlem@microsoft.com",
"dependentChangeType": "none",
"date": "2020-04-30T07:06:54.439Z"
}
49 changes: 0 additions & 49 deletions vnext/Scripts/ReactUwp.nuspec

This file was deleted.

0 comments on commit c994ef9

Please sign in to comment.