Keep releasing executables with legacy names

This commit is contained in:
itchyny authored and GitHub committed 2023-11-28 22:51:20 +01:00
1 parent 6b82dd3c47
commit d14393f552
1 file changed
+3
+3
View File
@@ -369,6 +369,9 @@ jobs:
TAG_NAME: ${{ github.ref_name }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cp jq-linux/{jq-linux-amd64,jq-linux64}
cp jq-macos/{jq-macos-amd64,jq-osx-amd64}
cp jq-windows/{jq-windows-amd64.exe,jq-win64.exe}
sha256sum jq-*/jq-* | sed 's| .*/| |' > sha256sum.txt
gh release create "$TAG_NAME" --draft --title "jq ${TAG_NAME#jq-}" --generate-notes
gh release upload "$TAG_NAME" --clobber jq-*/jq-* sha256sum.txt