Skip to content

Commit aab51fe

Browse files
committed
build-updates
1 parent 605358f commit aab51fe

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

appveyor.yml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,24 @@ cache:
99
- packages -> paket.dependencies
1010

1111
init:
12-
- git config --global core.autocrlf input
13-
- ps: >-
12+
- ps: >
13+
git config --global core.autocrlf input
14+
1415
if ($env:APPVEYOR_REPO_TAG -eq "true")
16+
1517
{
18+
1619
Update-AppveyorBuild -Version "$env:APPVEYOR_REPO_TAG_NAME"
20+
1721
}
22+
1823
else
24+
1925
{
20-
Update-AppveyorBuild -Version "dev-$($env:APPVEYOR_REPO_COMMIT.substring(0,7))"
26+
$ver = $env:APPVEYOR_BUILD_VERSION
27+
$commit = $env:APPVEYOR_REPO_COMMIT.substring(0,7)
28+
Update-AppveyorBuild -Version "$ver-$commit"
29+
2130
}
2231
2332
build_script:
@@ -26,10 +35,10 @@ build_script:
2635
after_build:
2736
- cmd: nuget pack CommandLine.nuspec -version %APPVEYOR_BUILD_VERSION%
2837

29-
test: off #tests handled within FAKE build
38+
test: off #tests handled within FAKE
3039

3140
artifacts:
32-
- path: build/*.nupkg
41+
- path: '*.nupkg'
3342
name: NugetPackage
3443

3544
deploy:
@@ -40,4 +49,3 @@ deploy:
4049
on:
4150
branch: master
4251
APPVEYOR_REPO_TAG: true
43-

0 commit comments

Comments
 (0)