mirror of
https://github.com/ckaczor/ChrisKaczor.Wpf.Windows.ControlBox.git
synced 2026-01-13 17:22:39 -05:00
Initial commit
This commit is contained in:
45
azure-pipelines.yml
Normal file
45
azure-pipelines.yml
Normal file
@@ -0,0 +1,45 @@
|
||||
name: 1.0.$(Rev:r)
|
||||
|
||||
pr: none
|
||||
|
||||
trigger:
|
||||
batch: 'true'
|
||||
branches:
|
||||
include:
|
||||
- main
|
||||
|
||||
pool:
|
||||
vmImage: 'windows-latest'
|
||||
|
||||
variables:
|
||||
buildConfiguration: 'Release'
|
||||
|
||||
steps:
|
||||
|
||||
- task: DotNetCoreCLI@2
|
||||
displayName: 'dotnet build'
|
||||
inputs:
|
||||
command: 'build'
|
||||
arguments: '--configuration $(buildConfiguration)'
|
||||
projects: 'Wpf.Windows.ControlBox.csproj'
|
||||
|
||||
- task: DotNetCoreCLI@2
|
||||
displayName: "dotnet pack"
|
||||
inputs:
|
||||
command: 'pack'
|
||||
arguments: '--configuration $(buildConfiguration)'
|
||||
packagesToPack: 'Wpf.Windows.ControlBox.csproj'
|
||||
nobuild: true
|
||||
versioningScheme: 'byBuildNumber'
|
||||
|
||||
- task: NuGetCommand@2
|
||||
displayName: 'nuget push'
|
||||
inputs:
|
||||
command: 'push'
|
||||
feedsToUse: 'select'
|
||||
packagesToPush: '$(Build.ArtifactStagingDirectory)/**/*.nupkg;!$(Build.ArtifactStagingDirectory)/**/*.symbols.nupkg'
|
||||
nuGetFeedType: external
|
||||
publishFeedCredentials: 'NuGet'
|
||||
publishVstsFeed: 'Packages'
|
||||
versioningScheme: 'byBuildNumber'
|
||||
allowPackageConflicts: true
|
||||
Reference in New Issue
Block a user