Re-enable preview auto-release (#41952)

Patch releases to preview will now automatically release

Release Notes:

- N/A
This commit is contained in:
Conrad Irwin
2025-11-04 19:26:33 -07:00
committed by GitHub
parent 2ead8c42fb
commit 9fc4abd8de
2 changed files with 2 additions and 9 deletions
+1 -4
View File
@@ -467,10 +467,7 @@ jobs:
auto_release_preview:
needs:
- upload_release_assets
if: |
false
&& startsWith(github.ref, 'refs/tags/v')
&& endsWith(github.ref, '-pre') && !endsWith(github.ref, '.0-pre')
if: startsWith(github.ref, 'refs/tags/v') && endsWith(github.ref, '-pre') && !endsWith(github.ref, '.0-pre')
runs-on: namespace-profile-2x4-ubuntu-2404
steps:
- name: gh release edit "$GITHUB_REF_NAME" --repo=zed-industries/zed --draft=false
+1 -5
View File
@@ -99,11 +99,7 @@ fn auto_release_preview(deps: &[&NamedJob; 1]) -> NamedJob {
dependant_job(deps)
.runs_on(runners::LINUX_SMALL)
.cond(Expression::new(indoc::indoc!(
r#"
false
&& startsWith(github.ref, 'refs/tags/v')
&& endsWith(github.ref, '-pre') && !endsWith(github.ref, '.0-pre')
"# // todo(ci-release) enable
r#"startsWith(github.ref, 'refs/tags/v') && endsWith(github.ref, '-pre') && !endsWith(github.ref, '.0-pre')"#
)))
.add_step(
steps::script(