Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (29 sloc) 853 Bytes
queue: 'Hosted VS2017'
variables:
buildConfiguration: 'Release'
steps:
- task: DotNetCoreCLI@2
inputs:
command: 'restore'
projects: '**/*.csproj'
- task: DotNetCoreCLI@2
inputs:
command: 'build'
projects: '**/*.csproj'
arguments: '--configuration $(buildConfiguration)'
- task: DotNetCoreCLI@2
inputs:
command: pack
packagesToPack: 'src/BlazorSignalR/*.csproj'
packDirectory: '$(build.artifactStagingDirectory)'
configuration: '$(buildConfiguration)'
versioningScheme: byEnvVar
versionEnvVar: Version
- task: NuGetCommand@2
inputs:
command: push
packagesToPush: '$(build.artifactStagingDirectory)/*.nupkg'
publishFeedCredentials: 'BlazorSignalR'
nuGetFeedType: external
versioningScheme: byEnvVar
versionEnvVar: Version
You can’t perform that action at this time.