mirror of
https://github.com/ckaczor/HomeMonitor.git
synced 2026-01-13 17:22:54 -05:00
20 lines
551 B
YAML
20 lines
551 B
YAML
variables:
|
|
Major: '1'
|
|
Minor: '0'
|
|
Patch: '0'
|
|
|
|
steps:
|
|
- task: NuGetCommand@2
|
|
inputs:
|
|
command: pack
|
|
packagesToPack: 'Weather\Models\Models.csproj'
|
|
versioningScheme: byPrereleaseNumber
|
|
majorVersion: '$(Major)'
|
|
minorVersion: '$(Minor)'
|
|
patchVersion: '$(Patch)'
|
|
- task: NuGetCommand@2
|
|
inputs:
|
|
command: 'push'
|
|
packagesToPush: '$(Build.ArtifactStagingDirectory)/**/*.nupkg;!$(Build.ArtifactStagingDirectory)/**/*.symbols.nupkg'
|
|
nuGetFeedType: 'internal'
|
|
publishVstsFeed: '2eb33313-2dc4-435d-ab24-74b653cdd7bc' |