add PublishVersion task

This commit is contained in:
Kevin Marquette
2018-08-20 03:14:42 -07:00
parent 94471ccfc0
commit a9a73ae9b2
4 changed files with 21 additions and 7 deletions

View File

@@ -0,0 +1,7 @@
task PublishVersion {
[version] $sourceVersion = (Get-Metadata -Path $manifestPath -PropertyName 'ModuleVersion')
"##vso[build.updatebuildnumber]$sourceVersion"
# Do the same for appveyor
# https://www.appveyor.com/docs/build-worker-api/#update-build-details
}