Remove publish pipeline until we have the necessary procedures working again

This commit is contained in:
Ian Craig 2019-08-15 09:48:41 -07:00
Родитель 15f184ac12
Коммит 0394d00ff7
2 изменённых файлов: 1 добавлений и 44 удалений

Просмотреть файл

@ -1,7 +1,7 @@
<?xml version="1.0"?>
<package >
<metadata>
<id>SourceMapToolkit</id>
<id>Microsoft.SourceMapToolkit</id>
<version>$version$</version>
<authors>Microsoft</authors>
<owners>Microsoft,Office Online</owners>

Просмотреть файл

@ -1,43 +0,0 @@
# Build and publish the Nuget package, bumping the minor version.
# If your change makes breaking changes or introduces new features you should increment Major or Minor respectively.
variables:
Major: '1'
Minor: '2'
solution: '*.sln'
buildPlatform: 'Any CPU'
buildConfiguration: 'Release'
name: $(Major).$(Minor)$(rev:.r)
trigger: none # Will trigger off CI completion in master
pool:
vmImage: 'windows-latest'
steps:
- task: NuGetToolInstaller@1
- task: NuGetCommand@2
inputs:
restoreSolution: '$(solution)'
- task: VSBuild@1
inputs:
solution: '$(solution)'
msbuildArgs: '/p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:SkipInvalidConfigurations=true /p:PackageLocation="$(build.artifactStagingDirectory)"'
platform: '$(buildPlatform)'
configuration: '$(buildConfiguration)'
- task: NuGetCommand@2
inputs:
command: 'pack'
packagesToPack: '*.nuspec'
versioningScheme: 'byBuildNumber'
- task: NuGetCommand@2
inputs:
command: 'push'
packagesToPush: '$(Build.ArtifactStagingDirectory)/**/*.nupkg;!$(Build.ArtifactStagingDirectory)/**/*.symbols.nupkg'
nuGetFeedType: 'external'
publishFeedCredentials: 'OfficeOnline NuGet.org'