Skip to content

Commit

Permalink
don't auto publish releases
Browse files Browse the repository at this point in the history
  • Loading branch information
cfbao committed Oct 22, 2024
1 parent 6ef8ad6 commit 4e8e578
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,10 @@ jobs:
tar -czvf "bmx-$PLATFORM-$ARCHITECTURE.tar.gz" "bmx"
gh release upload "$RELEASE_ID" "bmx-$PLATFORM-$ARCHITECTURE.tar.gz"
publish_release:
# We only auto publish prereleases and not real releases. The latter should stay as draft and only be published manually after review.
publish_prerelease:
needs: [create_release, build, build_docker]
if: github.event.inputs.prerelease == 'true'
runs-on: ubuntu-latest
timeout-minutes: 5
env:
Expand Down

0 comments on commit 4e8e578

Please sign in to comment.