Skip to content

Commit

Permalink
fix jq bug
Browse files Browse the repository at this point in the history
  • Loading branch information
c2biz committed Apr 2, 2024
1 parent 0c31b82 commit fdeef48
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 @@ -39,8 +39,7 @@ jobs:
# Powershell is utter fucking trash.
run: |
$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
ls
Expand Down

0 comments on commit fdeef48

Please sign in to comment.