Remove publish pipeline until we have the necessary procedures working again
This commit is contained in:
Родитель
15f184ac12
Коммит
0394d00ff7
|
@ -1,7 +1,7 @@
|
||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<package >
|
<package >
|
||||||
<metadata>
|
<metadata>
|
||||||
<id>SourceMapToolkit</id>
|
<id>Microsoft.SourceMapToolkit</id>
|
||||||
<version>$version$</version>
|
<version>$version$</version>
|
||||||
<authors>Microsoft</authors>
|
<authors>Microsoft</authors>
|
||||||
<owners>Microsoft,Office Online</owners>
|
<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'
|
|
Загрузка…
Ссылка в новой задаче