Skip to content

Commit

Permalink
Update publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sol authored Jul 26, 2024
1 parent b6dee6d commit d968e06
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,8 @@ jobs:
cabal update
cabal build --disable-tests --disable-benchmarks
binary=markdown-unlit
asset=${binary}_linux.gz
asset="${binary}_linux.gz"
cat "$(cabal list-bin $binary)" | gzip > $asset
gh release create ${{ steps.autotag.outputs.name }} --draft --prerelease || true
gh release upload ${{ steps.autotag.outputs.name }} $asset --clobber
gh release edit ${{ steps.autotag.outputs.name }} --draft=false
gh release create ${{ steps.autotag.outputs.name }} --generate-notes=false --verify-tag "$asset"
env:
GH_TOKEN: ${{ github.token }}

0 comments on commit d968e06

Please sign in to comment.