squash a bunch of commits
This commit is contained in:
@@ -22,12 +22,13 @@ variables:
|
||||
|
||||
steps:
|
||||
|
||||
# https://github.com/microsoft/azure-pipelines-tasks/blob/master/docs/authoring/commands.md#build-logging-commands
|
||||
- task: PowerShell@2
|
||||
displayName: Set the name of the build (i.e. the Build.BuildNumber)
|
||||
inputs:
|
||||
targetType: 'inline'
|
||||
script: |
|
||||
[string] $buildName = "$(versionNumber)_$(Build.SourceBranchName)"
|
||||
[string] $buildName = "$(versionNumber)"
|
||||
Write-Host "Setting the name of the build to '$buildName'."
|
||||
Write-Host "##vso[build.updatebuildnumber]$buildName"
|
||||
|
||||
@@ -74,17 +75,18 @@ steps:
|
||||
commands: 'sudo systemctl restart kestrel-gameboard.shogiui.sockets.service'
|
||||
readyTimeout: '20000'
|
||||
|
||||
- task: NuGetCommand@2
|
||||
- task: DotNetCoreCLI@2
|
||||
displayName: 'Pack ServiceModels'
|
||||
inputs:
|
||||
command: 'pack'
|
||||
packagesToPack: '**/*.ServiceModels/*.csproj'
|
||||
versioningScheme: 'byBuildNumber'
|
||||
packagesToPack: '**/*ServiceModels*.csproj'
|
||||
versioningScheme: byBuildNumber
|
||||
arguments: '-c Release'
|
||||
|
||||
|
||||
- task: NuGetCommand@2
|
||||
displayName: 'Push Nuget to Feed'
|
||||
- task: DotNetCoreCLI@2
|
||||
displayName: 'Push NuGet packages to Feed'
|
||||
inputs:
|
||||
command: 'push'
|
||||
packagesToPush: '$(Build.DefaultWorkingDirectory)/**/*.nupkg;!$(Build.DefaultWorkingDirectory)/**/*.symbols.nupkg'
|
||||
packagesToPush: '$(Build.ArtifactStagingDirectory)/*.nupkg'
|
||||
nuGetFeedType: 'internal'
|
||||
publishVstsFeed: '5622b603-b328-44aa-a6e8-8ca56ff54f88/22948853-baa7-4774-b19d-3aed351711c7'
|
||||
Reference in New Issue
Block a user