Skip to content

Commit

Permalink
Remove prerelease
Browse files Browse the repository at this point in the history
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
  • Loading branch information
angt committed Jan 20, 2025
1 parent 6952b18 commit 108547a
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
case "$GITHUB_REF" in
(refs/tags/v*)
case "$GITHUB_REF" in (refs/tags/v*)
gh release create "$GITHUB_REF_NAME" secret-*.gz \
--title "secret ${GITHUB_REF_NAME#v}" ;;
(refs/heads/master)
gh release create "master-g$GITHUB_SHA" secret-*.gz \
--title "secret $(echo $GITHUB_SHA | cut -c1-8)" \
--prerelease ;;
--title "secret ${GITHUB_REF_NAME#v}"
esac

0 comments on commit 108547a

Please sign in to comment.