mirror of https://github.com/winsw/winsw
WinSW v3 test plan
parent
f9e0126cf8
commit
85c8d69c17
|
@ -1,21 +1,20 @@
|
||||||
# https://docs.microsoft.com/azure/devops/pipelines/languages/dotnet-core
|
# https://docs.microsoft.com/azure/devops/pipelines/languages/dotnet-core
|
||||||
|
|
||||||
name: $(Major).$(Minor).$(Patch).$(Revision)
|
name: 3.0.0-alpha.$(Revision)
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
- master
|
- v3
|
||||||
|
|
||||||
pr:
|
pr:
|
||||||
- master
|
- v3
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
- group: Version
|
|
||||||
- name: Revision
|
- name: Revision
|
||||||
value: $[counter(format('{0}.{1}.{2}', variables.Major, variables.Minor, variables.Patch), 1)]
|
value: $[counter(3.0.0, 1)]
|
||||||
- name: BuildVersion
|
- name: BuildVersion
|
||||||
value: $(Major).$(Minor).$(Patch)
|
value: 3.0.0
|
||||||
- name: InformationalVersion # do not rename (MSBuild property)
|
- name: InformationalVersion # do not rename (MSBuild property)
|
||||||
value: $(Major).$(Minor).$(Patch)+$(Build.SourceVersion)
|
value: 3.0.0+$(Build.SourceVersion)
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- job: Build
|
- job: Build
|
||||||
|
@ -82,15 +81,3 @@ jobs:
|
||||||
inputs:
|
inputs:
|
||||||
PathtoPublish: $(Build.ArtifactStagingDirectory)\WinSW.$(BuildVersion).nupkg
|
PathtoPublish: $(Build.ArtifactStagingDirectory)\WinSW.$(BuildVersion).nupkg
|
||||||
ArtifactName: WinSW.nupkg_$(BuildConfiguration)
|
ArtifactName: WinSW.nupkg_$(BuildConfiguration)
|
||||||
- task: PublishBuildArtifacts@1
|
|
||||||
displayName: Publish full sample
|
|
||||||
condition: and(succeeded(), eq(variables['BuildConfiguration'], 'Release'))
|
|
||||||
inputs:
|
|
||||||
PathtoPublish: examples\sample-allOptions.xml
|
|
||||||
ArtifactName: sample-allOptions.xml
|
|
||||||
- task: PublishBuildArtifacts@1
|
|
||||||
displayName: Publish minimal sample
|
|
||||||
condition: and(succeeded(), eq(variables['BuildConfiguration'], 'Release'))
|
|
||||||
inputs:
|
|
||||||
PathtoPublish: examples\sample-minimal.xml
|
|
||||||
ArtifactName: sample-minimal.xml
|
|
||||||
|
|
Loading…
Reference in New Issue