Skip to content

Commit 2061f56

Browse files
committed
Update appveyor.yml, add shebang (and +x) to build.ps1 for non-Windows
1 parent 2c6c63b commit 2061f56

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

appveyor.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
image: Visual Studio 2017
1+
image: Visual Studio 2019
22

33
environment:
44
MyGetApiKey:
@@ -23,7 +23,6 @@ clone_script:
2323
branches:
2424
only:
2525
- master
26-
- v2
2726

2827
skip_branch_with_pr: true
2928

@@ -42,7 +41,7 @@ nuget:
4241
disable_publish_on_pr: true
4342

4443
build_script:
45-
- ps: .\build.ps1 -target appveyor -buildAssemblyVersion ($env:BuildVersion + $env:APPVEYOR_BUILD_NUMBER) -buildSemanticVersion ($env:BuildSemanticVersion + $env:APPVEYOR_BUILD_NUMBER)
44+
- ps: .\build.ps1 CI --buildAssemblyVersion ($env:BuildVersion + $env:APPVEYOR_BUILD_NUMBER) --buildSemanticVersion ($env:BuildSemanticVersion + $env:APPVEYOR_BUILD_NUMBER)
4645

4746
test: off
4847

build.ps1

100644100755
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env pwsh
12
#Requires -Version 5.1
23

34
Set-StrictMode -Version Latest

0 commit comments

Comments
 (0)