mirror of
https://github.com/ckaczor/HomeMonitor.git
synced 2026-01-19 01:25:37 -05:00
28 lines
549 B
YAML
28 lines
549 B
YAML
name: 1.0.$(rev:.r)
|
|
|
|
variables:
|
|
buildConfiguration: 'Release'
|
|
|
|
trigger:
|
|
batch: true
|
|
branches:
|
|
include:
|
|
- master
|
|
paths:
|
|
include:
|
|
- Weather/Models
|
|
|
|
steps:
|
|
- task: NuGetCommand@2
|
|
inputs:
|
|
command: 'pack'
|
|
configuration: $(BuildConfiguration)
|
|
packagesToPack: 'Weather/Models/Models.csproj'
|
|
versioningScheme: byBuildNumber
|
|
- task: NuGetCommand@2
|
|
inputs:
|
|
command: 'push'
|
|
packagesToPush: 'Weather/Models/**/*.nupkg'
|
|
nuGetFeedType: 'internal'
|
|
publishVstsFeed: '2eb33313-2dc4-435d-ab24-74b653cdd7bc'
|