Skip to content

Commit

Permalink
Use pre-release instead
Browse files Browse the repository at this point in the history
  • Loading branch information
kengorab committed Oct 28, 2024
1 parent cd849b2 commit 8266ebf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
steps:
- name: Checkout source
uses: actions/checkout@v4
- name: Create non-latest release
run: gh release create ${{ github.ref_name }} --latest=false
- name: Create pre-release release
run: gh release create ${{ github.ref_name }} -p
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
build-and-release:
Expand Down Expand Up @@ -66,6 +66,6 @@ jobs:
- name: Checkout source
uses: actions/checkout@v4
- name: Mark release as latest
run: gh release edit ${{ github.ref_name }} --latest
run: gh release edit ${{ github.ref_name }} --prerelease=false --latest
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 8266ebf

Please sign in to comment.