Skip to content

Commit

Permalink
fix publish archive
Browse files Browse the repository at this point in the history
  • Loading branch information
Roger-luo committed Jan 26, 2023
1 parent 8ad7936 commit d3e24e6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,9 @@ jobs:
just tarball ${{ matrix.target }}
- name: Publish Archive
uses: softprops/action-gh-release@v0.1.5
uses: softprops/action-gh-release@v1
if: ${{ startsWith(github.ref, 'refs/tags/') }}
with:
draft: false
files: ${{ steps.package.outputs.archive }}
prerelease: ${{ steps.ref-type.outputs.value != 'release' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
prerelease: true
3 changes: 3 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@ tarball target="aarch64-apple-darwin":
delete-release tag:
gh release delete {{tag}} -y
git push --delete origin {{tag}}

release tag:
gh release create {{tag}} -t {{tag}} --generate-notes -p

0 comments on commit d3e24e6

Please sign in to comment.