2019-08-09 19:56:47 +00:00
|
|
|
variables:
|
|
|
|
versionbase: 3.22.25
|
|
|
|
increment: $[counter(variables['versionbase'], 1)]
|
|
|
|
version: $(versionbase).$(increment)
|
2019-08-09 19:37:45 +00:00
|
|
|
|
|
|
|
trigger:
|
|
|
|
branches:
|
|
|
|
include:
|
|
|
|
- master
|
|
|
|
- develop
|
|
|
|
tags:
|
|
|
|
include:
|
|
|
|
- '*'
|
|
|
|
|
|
|
|
pool:
|
|
|
|
vmImage: 'ubuntu-latest'
|
|
|
|
|
|
|
|
steps:
|
2019-08-09 20:28:34 +00:00
|
|
|
- script: ./build.sh --BuildTarget=FullBuild --BuildVersion=$(version)
|
|
|
|
displayName: 'CAKE Script'
|
|
|
|
|
|
|
|
- task: PublishBuildArtifacts@1
|
|
|
|
displayName: Publish Binaries
|
|
|
|
inputs:
|
|
|
|
pathtoPublish: BuildOutput/Release
|
|
|
|
artifactName: Binaries
|
|
|
|
publishLocation: container
|
|
|
|
|
|
|
|
- task: PublishBuildArtifacts@1
|
|
|
|
displayName: Publish NuGet
|
|
|
|
inputs:
|
|
|
|
pathtoPublish: BuildOutput/NugetPackages
|
|
|
|
artifactName: NuGet
|
|
|
|
publishLocation: container
|
|
|
|
|
|
|
|
- task: PublishBuildArtifacts@1
|
|
|
|
displayName: Publish Samples
|
|
|
|
inputs:
|
|
|
|
pathtoPublish: BuildOutput/Samples
|
|
|
|
artifactName: Samples
|
|
|
|
publishLocation: container
|