Skip to content

Commit

Permalink
Auto release preview patch releases (zed-industries#20886)
Browse files Browse the repository at this point in the history
This should make the process of releasing patch releases to preview less
toilful

Release Notes:

- N/A
  • Loading branch information
ConradIrwin authored and Anthony-Eid committed Nov 22, 2024
1 parent 8cb4c13 commit c3575a9
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit c3575a9

Please sign in to comment.