Skip to content

Commit

Permalink
pull upstream, fix jq syntax bug in autorelease workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
c2biz committed Apr 2, 2024
1 parent 6c9f645 commit 072849b
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:
# 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
cd .\compiled
tar.exe -czvf ..\sharp-hound-4.tar.gz .\alias.json .\SharpHound.exe
- name: Sign Package
Expand Down

0 comments on commit 072849b

Please sign in to comment.