Skip to content

Commit 012cf4e

Browse files
committed
Update scripts for breaking change in PowerShell 7.3
1 parent b96cc4e commit 012cf4e

14 files changed

+46
-21
lines changed

appveyor.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,9 @@ build_script:
9898
Write-Output ".NET version:"
9999
dotnet --version
100100
101+
Write-Output "PowerShell version:"
102+
pwsh --version
103+
101104
Write-Output "PostgreSQL version:"
102105
if ($IsWindows) {
103106
. "${env:ProgramFiles}\PostgreSQL\15\bin\psql" --version

docs/build-dev.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#Requires -Version 7.0
1+
#Requires -Version 7.3
22

33
# This script builds the documentation website, starts a web server and opens the site in your browser. Intended for local development.
44

docs/generate-examples.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#Requires -Version 7.0
1+
#Requires -Version 7.3
22

33
# This script generates response documents for ./request-examples
44

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1+
#Requires -Version 7.3
2+
13
curl -s -f http://localhost:14141/api/books
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1+
#Requires -Version 7.3
2+
13
curl -s -f http://localhost:14141/api/people/1
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1+
#Requires -Version 7.3
2+
13
curl -s -f http://localhost:14141/api/books?include=author
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1+
#Requires -Version 7.3
2+
13
curl -s -f http://localhost:14141/api/books?fields%5Bbooks%5D=publishYear
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1+
#Requires -Version 7.3
2+
13
curl -s -f "http://localhost:14141/api/people?filter=contains(name,'Shell')"
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1+
#Requires -Version 7.3
2+
13
curl -s -f http://localhost:14141/api/books?sort=-publishYear
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1+
#Requires -Version 7.3
2+
13
curl -s -f "http://localhost:14141/api/books?page%5Bsize%5D=1&page%5Bnumber%5D=2"

0 commit comments

Comments
 (0)