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
|
|
|
|
|
|
|
|
pool:
|
|
|
|
vmImage: 'ubuntu-latest'
|
|
|
|
|
|
|
|
steps:
|
2019-08-10 06:34:50 +00:00
|
|
|
- script: echo "##vso[build.updatebuildnumber]$(version)"
|
|
|
|
displayName: 'Set Build Number'
|
|
|
|
|
2019-08-10 14:52:30 +00:00
|
|
|
- script: sudo apt install -y monodevelop
|
|
|
|
displayName: 'Install MonoDevelop'
|
|
|
|
|
2019-08-09 20:28:34 +00:00
|
|
|
- script: ./build.sh --BuildTarget=FullBuild --BuildVersion=$(version)
|
|
|
|
displayName: 'CAKE Script'
|
|
|
|
|
|
|
|
- task: PublishBuildArtifacts@1
|
2019-08-09 21:04:33 +00:00
|
|
|
displayName: Publish Binaries Artifact
|
2019-08-09 20:28:34 +00:00
|
|
|
inputs:
|
|
|
|
pathtoPublish: BuildOutput/Release
|
|
|
|
artifactName: Binaries
|
|
|
|
publishLocation: container
|
|
|
|
|
|
|
|
- task: PublishBuildArtifacts@1
|
2019-08-09 21:04:33 +00:00
|
|
|
displayName: Publish NuGet Artifact
|
2019-08-09 20:28:34 +00:00
|
|
|
inputs:
|
|
|
|
pathtoPublish: BuildOutput/NugetPackages
|
|
|
|
artifactName: NuGet
|
|
|
|
publishLocation: container
|
|
|
|
|
|
|
|
- task: PublishBuildArtifacts@1
|
2019-08-09 21:04:33 +00:00
|
|
|
displayName: Publish Samples Artifact
|
2019-08-09 20:28:34 +00:00
|
|
|
inputs:
|
|
|
|
pathtoPublish: BuildOutput/Samples
|
|
|
|
artifactName: Samples
|
2019-08-09 21:04:33 +00:00
|
|
|
publishLocation: container
|
|
|
|
|
2019-08-10 14:52:30 +00:00
|
|
|
- task: PublishBuildArtifacts@1
|
|
|
|
displayName: Publish MonoDevelop Addin
|
|
|
|
inputs:
|
|
|
|
pathtoPublish: BuildOutput/Addins/MonoDevelop/MonoDevelop.GtkSharp.Addin_$(version).mpack
|
|
|
|
artifactName: MonoDevelop Addin
|
2019-08-10 15:23:06 +00:00
|
|
|
publishLocation: container
|