mirror of
https://github.com/ckaczor/HomeMonitor.git
synced 2026-02-16 10:58:32 -05:00
Update azure-pipelines.yml for Azure Pipelines
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
variables:
|
variables:
|
||||||
Major: '1'
|
majorMinorVersion: 1.0
|
||||||
Minor: '0'
|
semanticVersion: $[counter(variables['majorMinorVersion'], 0)]
|
||||||
Patch: '0'
|
buildConfiguration: 'Release'
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
batch: true
|
batch: true
|
||||||
@@ -16,14 +16,12 @@ steps:
|
|||||||
- task: NuGetCommand@2
|
- task: NuGetCommand@2
|
||||||
inputs:
|
inputs:
|
||||||
command: 'pack'
|
command: 'pack'
|
||||||
|
configuration: $(BuildConfiguration)
|
||||||
packagesToPack: 'Weather/Models/Models.csproj'
|
packagesToPack: 'Weather/Models/Models.csproj'
|
||||||
versioningScheme: byBuildNumber
|
versioningScheme: byBuildNumber
|
||||||
majorVersion: '$(Major)'
|
|
||||||
minorVersion: '$(Minor)'
|
|
||||||
patchVersion: '$(Patch)'
|
|
||||||
- task: NuGetCommand@2
|
- task: NuGetCommand@2
|
||||||
inputs:
|
inputs:
|
||||||
command: 'push'
|
command: 'push'
|
||||||
packagesToPush: 'Weather/Models/**/*.nupkg'
|
packagesToPush: 'Weather/Models/**/*.nupkg'
|
||||||
nuGetFeedType: 'internal'
|
nuGetFeedType: 'internal'
|
||||||
publishVstsFeed: '2eb33313-2dc4-435d-ab24-74b653cdd7bc'
|
publishVstsFeed: '2eb33313-2dc4-435d-ab24-74b653cdd7bc'
|
||||||
|
|||||||
Reference in New Issue
Block a user