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