appveyor.build.ps1

1
2
3
4
5
6
7
8
# Build script for AppVeyor

[System.Version]$buildNumber = $env:APPVEYOR_BUILD_NUMBER
[System.Version]$currentManifestVersion = (Import-LocalizedData -FileName Communary.PASM.psd1).ModuleVersion

if ($buildNumber -gt $currentManifestVersion) {
    Update-ModuleManifest -Path .\Communary.PASM.psd1 -ModuleVersion $buildNumber
}