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
+13
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 }}