Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Auto release preview patch releases (#20886)

Conrad Irwin841d3221b34f
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 43af9309fe5..8f2f08aa1aa 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -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 }}