feat(ci): mark alpha, beta, and rc releases as pre-releases
This change modifies the release CI workflow to automatically tag alpha,
beta, and RC GitHub releases as pre-releases.
@@ -54,6 +54,7 @@ jobs:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body_path: release-notes.md
+ prerelease: ${{ contains(env.VERSION, '-alpha.') || contains(env.VERSION, '-beta.') || contains(env.VERSION, '-rc.') }}
- name: Upload macOS .zip
uses: actions/upload-release-asset@v1
with:
