8000 make appveyor version consistent with travis-ci · PowerShell/PowerShell@ac6c62a · GitHub
[go: up one dir, main page]

Skip to content

Commit ac6c62a

Browse files
committed
make appveyor version consistent with travis-ci
1 parent b7902a7 commit ac6c62a

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: 6.0.0-beta.4-{build}
1+
# version is set in tools\appveyor.psm1 - Invoke-AppVeyorInstall
22

33
image: Visual Studio 2017
44

tools/appveyor.psm1

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,10 @@ function Invoke-AppVeyorInstall
191191
{
192192
# Make sure we have all the tags
193193
Sync-PSTags -AddRemoteIfMissing
194+
if($env:APPVEYOR_BUILD_NUMBER)
195+
{
196+
Update-AppveyorBuild -Version "$(Get-PSVersion -OmitCommitId)-$env:APPVEYOR_BUILD_NUMBER"
197+
}
194198

195199
if(Test-DailyBuild){
196200
$buildName = "[Daily]"

0 commit comments

Comments
 (0)
0