Skip to content

Commit

Permalink
fix jq version syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
c2biz committed Apr 2, 2024
1 parent c81c6d1 commit 320980b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/autorelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,15 @@ jobs:
pwd
ls
$Version = git.exe describe --tags --abbrev=0
$Version = "`"$Version`""
cd SharpChrome
Get-Content -Path alias.json | ..\.\jq.exe ".version |= `"$Version`"" > ./compiled/alias.json
Get-Content -Path alias.json | .\jq.exe --arg ver "$Version" '.version |= $ver' > ./compiled/alias.json
Copy-Item -Path ..\LICENSE -Destination compiled\LICENSE
cd compiled
tar.exe -czvf ..\..\sharpchrome.tar.gz .
cd ..\..\SharpDPAPI
Get-Content -Path alias.json | ..\.\jq.exe ".version |= `"$Version`"" > ./compiled/alias.json
Get-Content -Path alias.json | .\jq.exe --arg ver "$Version" '.version |= $ver' > ./compiled/alias.json
Copy-Item -Path ..\LICENSE -Destination compiled\LICENSE
cd compiled
tar.exe -czvf ..\..\sharpdpapi.tar.gz .
Expand Down

0 comments on commit 320980b

Please sign in to comment.