Skip to content

Commit

Permalink
Update appveyor.yml, add shebang (and +x) to build.ps1 for non-Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
bradwilson committed Jul 8, 2019
1 parent 2c6c63b commit 2061f56
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 2 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
image: Visual Studio 2017
image: Visual Studio 2019

environment:
MyGetApiKey:
Expand All @@ -23,7 +23,6 @@ clone_script:
branches:
only:
- master
- v2

skip_branch_with_pr: true

Expand All @@ -42,7 +41,7 @@ nuget:
disable_publish_on_pr: true

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

test: off

Expand Down
1 change: 1 addition & 0 deletions build.ps1
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env pwsh
#Requires -Version 5.1

Set-StrictMode -Version Latest
Expand Down

0 comments on commit 2061f56

Please sign in to comment.