Skip to content

Commit

Permalink
fix jq syntax bug
Browse files Browse the repository at this point in the history
  • Loading branch information
c2biz committed Apr 4, 2024
1 parent a32aed9 commit d3b9b2f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/autorelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ jobs:
run: |
ls
$Version = git.exe describe --tags --abbrev=0
$Version = "`"$Version`""
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 ..\nps.tar.gz .
Expand Down

0 comments on commit d3b9b2f

Please sign in to comment.