Auto release preview patch releases (#20886)

This should make the process of releasing patch releases to preview less
toilful

Release Notes:

- N/A
This commit is contained in:
Conrad Irwin 2024-11-21 11:59:02 -07:00 committed by GitHub
parent 02447a8552
commit 841d3221b3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -404,3 +404,16 @@ jobs:
target/release/zed-linux-aarch64.tar.gz
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
auto-release-preview:
name: Auto release preview
if: ${{ startsWith(github.ref, 'refs/tags/v') && endsWith(github.ref, '-pre') && !endsWith(github.ref, '.0-pre') }}
needs: [bundle-mac, bundle-linux, bundle-linux-aarch64]
runs-on:
- self-hosted
- bundle
steps:
- name: gh release
run: gh release edit $GITHUB_REF_NAME --draft=false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}