1# Generated from xtask::workflows::release
2# Rebuild with `cargo xtask workflows`.
3name: release
4on:
5 push:
6 tags:
7 - v*
8jobs:
9 run_tests_mac:
10 if: github.repository_owner == 'zed-industries'
11 runs-on: self-mini-macos
12 steps:
13 - name: steps::checkout_repo
14 uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
15 with:
16 clean: false
17 - name: steps::setup_cargo_config
18 run: |
19 mkdir -p ./../.cargo
20 cp ./.cargo/ci-config.toml ./../.cargo/config.toml
21 shell: bash -euxo pipefail {0}
22 - name: steps::setup_node
23 uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
24 with:
25 node-version: '20'
26 - name: steps::clippy
27 run: ./script/clippy
28 shell: bash -euxo pipefail {0}
29 - name: steps::cargo_install_nextest
30 run: cargo install cargo-nextest --locked
31 shell: bash -euxo pipefail {0}
32 - name: steps::clear_target_dir_if_large
33 run: ./script/clear-target-dir-if-larger-than 300
34 shell: bash -euxo pipefail {0}
35 - name: steps::cargo_nextest
36 run: cargo nextest run --workspace --no-fail-fast --failure-output immediate-final
37 shell: bash -euxo pipefail {0}
38 - name: steps::cleanup_cargo_config
39 if: always()
40 run: |
41 rm -rf ./../.cargo
42 shell: bash -euxo pipefail {0}
43 timeout-minutes: 60
44 run_tests_linux:
45 if: github.repository_owner == 'zed-industries'
46 runs-on: namespace-profile-16x32-ubuntu-2204
47 steps:
48 - name: steps::checkout_repo
49 uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
50 with:
51 clean: false
52 - name: steps::setup_cargo_config
53 run: |
54 mkdir -p ./../.cargo
55 cp ./.cargo/ci-config.toml ./../.cargo/config.toml
56 shell: bash -euxo pipefail {0}
57 - name: steps::setup_linux
58 run: ./script/linux
59 shell: bash -euxo pipefail {0}
60 - name: steps::install_mold
61 run: ./script/install-mold
62 shell: bash -euxo pipefail {0}
63 - name: steps::setup_node
64 uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
65 with:
66 node-version: '20'
67 - name: steps::clippy
68 run: ./script/clippy
69 shell: bash -euxo pipefail {0}
70 - name: steps::cargo_install_nextest
71 run: cargo install cargo-nextest --locked
72 shell: bash -euxo pipefail {0}
73 - name: steps::clear_target_dir_if_large
74 run: ./script/clear-target-dir-if-larger-than 100
75 shell: bash -euxo pipefail {0}
76 - name: steps::cargo_nextest
77 run: cargo nextest run --workspace --no-fail-fast --failure-output immediate-final
78 shell: bash -euxo pipefail {0}
79 - name: steps::cleanup_cargo_config
80 if: always()
81 run: |
82 rm -rf ./../.cargo
83 shell: bash -euxo pipefail {0}
84 timeout-minutes: 60
85 run_tests_windows:
86 if: github.repository_owner == 'zed-industries'
87 runs-on: self-32vcpu-windows-2022
88 steps:
89 - name: steps::checkout_repo
90 uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
91 with:
92 clean: false
93 - name: steps::setup_cargo_config
94 run: |
95 New-Item -ItemType Directory -Path "./../.cargo" -Force
96 Copy-Item -Path "./.cargo/ci-config.toml" -Destination "./../.cargo/config.toml"
97 shell: pwsh
98 - name: steps::setup_node
99 uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
100 with:
101 node-version: '20'
102 - name: steps::clippy
103 run: ./script/clippy.ps1
104 shell: pwsh
105 - name: steps::cargo_install_nextest
106 run: cargo install cargo-nextest --locked
107 shell: pwsh
108 - name: steps::clear_target_dir_if_large
109 run: ./script/clear-target-dir-if-larger-than.ps1 250
110 shell: pwsh
111 - name: steps::cargo_nextest
112 run: cargo nextest run --workspace --no-fail-fast --failure-output immediate-final
113 shell: pwsh
114 - name: steps::cleanup_cargo_config
115 if: always()
116 run: |
117 Remove-Item -Recurse -Path "./../.cargo" -Force -ErrorAction SilentlyContinue
118 shell: pwsh
119 timeout-minutes: 60
120 check_scripts:
121 if: github.repository_owner == 'zed-industries'
122 runs-on: namespace-profile-2x4-ubuntu-2404
123 steps:
124 - name: steps::checkout_repo
125 uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
126 with:
127 clean: false
128 - name: run_tests::check_scripts::run_shellcheck
129 run: ./script/shellcheck-scripts error
130 shell: bash -euxo pipefail {0}
131 - id: get_actionlint
132 name: run_tests::check_scripts::download_actionlint
133 run: bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
134 shell: bash -euxo pipefail {0}
135 - name: run_tests::check_scripts::run_actionlint
136 run: |
137 ${{ steps.get_actionlint.outputs.executable }} -color
138 shell: bash -euxo pipefail {0}
139 - name: run_tests::check_scripts::check_xtask_workflows
140 run: |
141 cargo xtask workflows
142 if ! git diff --exit-code .github; then
143 echo "Error: .github directory has uncommitted changes after running 'cargo xtask workflows'"
144 echo "Please run 'cargo xtask workflows' locally and commit the changes"
145 exit 1
146 fi
147 shell: bash -euxo pipefail {0}
148 timeout-minutes: 60
149 create_draft_release:
150 if: github.repository_owner == 'zed-industries'
151 runs-on: namespace-profile-2x4-ubuntu-2404
152 steps:
153 - name: steps::checkout_repo
154 uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
155 with:
156 clean: false
157 fetch-depth: 25
158 ref: ${{ github.ref }}
159 - name: mkdir -p target/
160 run: mkdir -p target/
161 shell: bash -euxo pipefail {0}
162 - name: |
163 echo "RELEASE_CHANNEL=preview" >> $GITHUB_ENV
164 echo "RELEASE_VERSION=0.211.1" >> $GITHUB_ENV
165 run: |
166 echo "RELEASE_CHANNEL=preview" >> $GITHUB_ENV
167 echo "RELEASE_VERSION=0.211.1" >> $GITHUB_ENV
168 shell: bash -euxo pipefail {0}
169 - name: release::create_draft_release::draft_release_notes
170 run: node --redirect-warnings=/dev/null ./script/draft-release-notes $RELEASE_VERSION $RELEASE_CHANNEL > target/release-notes.md
171 shell: bash -euxo pipefail {0}
172 - name: release::create_draft_release::create_draft_release
173 run: script/create-draft-releae target/release-notes.md
174 shell: bash -euxo pipefail {0}
175 env:
176 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
177 timeout-minutes: 60
178 bundle_linux_arm64:
179 needs:
180 - run_tests_linux
181 - check_scripts
182 runs-on: namespace-profile-8x32-ubuntu-2004-arm-m4
183 steps:
184 - name: steps::checkout_repo
185 uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
186 with:
187 clean: false
188 - name: steps::setup_sentry
189 uses: matbour/setup-sentry-cli@3e938c54b3018bdd019973689ef984e033b0454b
190 with:
191 token: ${{ secrets.SENTRY_AUTH_TOKEN }}
192 - name: steps::setup_linux
193 run: ./script/linux
194 shell: bash -euxo pipefail {0}
195 - name: steps::install_mold
196 run: ./script/install-mold
197 shell: bash -euxo pipefail {0}
198 - name: ./script/bundle-linux
199 run: ./script/bundle-linux
200 shell: bash -euxo pipefail {0}
201 - name: '@actions/upload-artifact zed-${{ github.event.pull_request.head.sha || github.sha }}-aarch64-unknown-linux-gnu.tar.gz'
202 uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4
203 with:
204 name: zed-${{ github.event.pull_request.head.sha || github.sha }}-aarch64-unknown-linux-gnu.tar.gz
205 path: target/release/zed-*.tar.gz
206 if-no-files-found: error
207 - name: '@actions/upload-artifact zed-remote-server-${{ github.event.pull_request.head.sha || github.sha }}-aarch64-unknown-linux-gnu.tar.gz'
208 uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4
209 with:
210 name: zed-remote-server-${{ github.event.pull_request.head.sha || github.sha }}-aarch64-unknown-linux-gnu.tar.gz
211 path: target/zed-remote-server-*.gz
212 if-no-files-found: error
213 outputs:
214 zed: zed-${{ github.event.pull_request.head.sha || github.sha }}-aarch64-unknown-linux-gnu.tar.gz
215 remote-server: zed-remote-server-${{ github.event.pull_request.head.sha || github.sha }}-aarch64-unknown-linux-gnu.tar.gz
216 timeout-minutes: 60
217 bundle_linux_x86_64:
218 needs:
219 - run_tests_linux
220 - check_scripts
221 runs-on: namespace-profile-32x64-ubuntu-2004
222 steps:
223 - name: steps::checkout_repo
224 uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
225 with:
226 clean: false
227 - name: steps::setup_sentry
228 uses: matbour/setup-sentry-cli@3e938c54b3018bdd019973689ef984e033b0454b
229 with:
230 token: ${{ secrets.SENTRY_AUTH_TOKEN }}
231 - name: steps::setup_linux
232 run: ./script/linux
233 shell: bash -euxo pipefail {0}
234 - name: steps::install_mold
235 run: ./script/install-mold
236 shell: bash -euxo pipefail {0}
237 - name: ./script/bundle-linux
238 run: ./script/bundle-linux
239 shell: bash -euxo pipefail {0}
240 - name: '@actions/upload-artifact zed-${{ github.event.pull_request.head.sha || github.sha }}-x86_64-unknown-linux-gnu.tar.gz'
241 uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4
242 with:
243 name: zed-${{ github.event.pull_request.head.sha || github.sha }}-x86_64-unknown-linux-gnu.tar.gz
244 path: target/release/zed-*.tar.gz
245 if-no-files-found: error
246 - name: '@actions/upload-artifact zed-remote-server-${{ github.event.pull_request.head.sha || github.sha }}-x86_64-unknown-linux-gnu.tar.gz'
247 uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4
248 with:
249 name: zed-remote-server-${{ github.event.pull_request.head.sha || github.sha }}-x86_64-unknown-linux-gnu.tar.gz
250 path: target/zed-remote-server-*.gz
251 if-no-files-found: error
252 outputs:
253 zed: zed-${{ github.event.pull_request.head.sha || github.sha }}-x86_64-unknown-linux-gnu.tar.gz
254 remote-server: zed-remote-server-${{ github.event.pull_request.head.sha || github.sha }}-x86_64-unknown-linux-gnu.tar.gz
255 timeout-minutes: 60
256 bundle_mac_arm64:
257 needs:
258 - run_tests_mac
259 - check_scripts
260 runs-on: self-mini-macos
261 env:
262 MACOS_CERTIFICATE: ${{ secrets.MACOS_CERTIFICATE }}
263 MACOS_CERTIFICATE_PASSWORD: ${{ secrets.MACOS_CERTIFICATE_PASSWORD }}
264 APPLE_NOTARIZATION_KEY: ${{ secrets.APPLE_NOTARIZATION_KEY }}
265 APPLE_NOTARIZATION_KEY_ID: ${{ secrets.APPLE_NOTARIZATION_KEY_ID }}
266 APPLE_NOTARIZATION_ISSUER_ID: ${{ secrets.APPLE_NOTARIZATION_ISSUER_ID }}
267 steps:
268 - name: steps::checkout_repo
269 uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
270 with:
271 clean: false
272 - name: steps::setup_node
273 uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
274 with:
275 node-version: '20'
276 - name: steps::setup_sentry
277 uses: matbour/setup-sentry-cli@3e938c54b3018bdd019973689ef984e033b0454b
278 with:
279 token: ${{ secrets.SENTRY_AUTH_TOKEN }}
280 - name: steps::clear_target_dir_if_large
281 run: ./script/clear-target-dir-if-larger-than 300
282 shell: bash -euxo pipefail {0}
283 - name: run_bundling::bundle_mac
284 run: ./script/bundle-mac aarch64-apple-darwin
285 shell: bash -euxo pipefail {0}
286 - name: '@actions/upload-artifact Zed_${{ github.event.pull_request.head.sha || github.sha }}-aarch64.dmg'
287 uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4
288 with:
289 name: Zed_${{ github.event.pull_request.head.sha || github.sha }}-aarch64.dmg
290 path: target/aarch64-apple-darwin/release/Zed.dmg
291 if-no-files-found: error
292 - name: '@actions/upload-artifact zed-remote-server-${{ github.event.pull_request.head.sha || github.sha }}-macos-aarch64.gz'
293 uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4
294 with:
295 name: zed-remote-server-${{ github.event.pull_request.head.sha || github.sha }}-macos-aarch64.gz
296 path: target/zed-remote-server-macos-aarch64.gz
297 if-no-files-found: error
298 outputs:
299 zed: Zed_${{ github.event.pull_request.head.sha || github.sha }}-aarch64.dmg
300 remote-server: zed-remote-server-${{ github.event.pull_request.head.sha || github.sha }}-macos-aarch64.gz
301 timeout-minutes: 60
302 bundle_mac_x86_64:
303 needs:
304 - run_tests_mac
305 - check_scripts
306 runs-on: self-mini-macos
307 env:
308 MACOS_CERTIFICATE: ${{ secrets.MACOS_CERTIFICATE }}
309 MACOS_CERTIFICATE_PASSWORD: ${{ secrets.MACOS_CERTIFICATE_PASSWORD }}
310 APPLE_NOTARIZATION_KEY: ${{ secrets.APPLE_NOTARIZATION_KEY }}
311 APPLE_NOTARIZATION_KEY_ID: ${{ secrets.APPLE_NOTARIZATION_KEY_ID }}
312 APPLE_NOTARIZATION_ISSUER_ID: ${{ secrets.APPLE_NOTARIZATION_ISSUER_ID }}
313 steps:
314 - name: steps::checkout_repo
315 uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
316 with:
317 clean: false
318 - name: steps::setup_node
319 uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
320 with:
321 node-version: '20'
322 - name: steps::setup_sentry
323 uses: matbour/setup-sentry-cli@3e938c54b3018bdd019973689ef984e033b0454b
324 with:
325 token: ${{ secrets.SENTRY_AUTH_TOKEN }}
326 - name: steps::clear_target_dir_if_large
327 run: ./script/clear-target-dir-if-larger-than 300
328 shell: bash -euxo pipefail {0}
329 - name: run_bundling::bundle_mac
330 run: ./script/bundle-mac x86_64-apple-darwin
331 shell: bash -euxo pipefail {0}
332 - name: '@actions/upload-artifact Zed_${{ github.event.pull_request.head.sha || github.sha }}-x86_64.dmg'
333 uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4
334 with:
335 name: Zed_${{ github.event.pull_request.head.sha || github.sha }}-x86_64.dmg
336 path: target/x86_64-apple-darwin/release/Zed.dmg
337 if-no-files-found: error
338 - name: '@actions/upload-artifact zed-remote-server-${{ github.event.pull_request.head.sha || github.sha }}-macos-x86_64.gz'
339 uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4
340 with:
341 name: zed-remote-server-${{ github.event.pull_request.head.sha || github.sha }}-macos-x86_64.gz
342 path: target/zed-remote-server-macos-x86_64.gz
343 if-no-files-found: error
344 outputs:
345 zed: Zed_${{ github.event.pull_request.head.sha || github.sha }}-x86_64.dmg
346 remote-server: zed-remote-server-${{ github.event.pull_request.head.sha || github.sha }}-macos-x86_64.gz
347 timeout-minutes: 60
348 bundle_windows_arm64:
349 needs:
350 - run_tests_windows
351 - check_scripts
352 runs-on: self-32vcpu-windows-2022
353 env:
354 AZURE_TENANT_ID: ${{ secrets.AZURE_SIGNING_TENANT_ID }}
355 AZURE_CLIENT_ID: ${{ secrets.AZURE_SIGNING_CLIENT_ID }}
356 AZURE_CLIENT_SECRET: ${{ secrets.AZURE_SIGNING_CLIENT_SECRET }}
357 ACCOUNT_NAME: ${{ vars.AZURE_SIGNING_ACCOUNT_NAME }}
358 CERT_PROFILE_NAME: ${{ vars.AZURE_SIGNING_CERT_PROFILE_NAME }}
359 ENDPOINT: ${{ vars.AZURE_SIGNING_ENDPOINT }}
360 FILE_DIGEST: SHA256
361 TIMESTAMP_DIGEST: SHA256
362 TIMESTAMP_SERVER: http://timestamp.acs.microsoft.com
363 steps:
364 - name: steps::checkout_repo
365 uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
366 with:
367 clean: false
368 - name: steps::setup_sentry
369 uses: matbour/setup-sentry-cli@3e938c54b3018bdd019973689ef984e033b0454b
370 with:
371 token: ${{ secrets.SENTRY_AUTH_TOKEN }}
372 - name: run_bundling::bundle_windows
373 run: script/bundle-windows.ps1 -Architecture aarch64
374 shell: pwsh
375 working-directory: ${{ env.ZED_WORKSPACE }}
376 - name: '@actions/upload-artifact Zed_${{ github.event.pull_request.head.sha || github.sha }}-aarch64.exe'
377 uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4
378 with:
379 name: Zed_${{ github.event.pull_request.head.sha || github.sha }}-aarch64.exe
380 path: ${{ env.SETUP_PATH }}
381 if-no-files-found: error
382 outputs:
383 zed: Zed_${{ github.event.pull_request.head.sha || github.sha }}-aarch64.exe
384 timeout-minutes: 60
385 bundle_windows_x86_64:
386 needs:
387 - run_tests_windows
388 - check_scripts
389 runs-on: self-32vcpu-windows-2022
390 env:
391 AZURE_TENANT_ID: ${{ secrets.AZURE_SIGNING_TENANT_ID }}
392 AZURE_CLIENT_ID: ${{ secrets.AZURE_SIGNING_CLIENT_ID }}
393 AZURE_CLIENT_SECRET: ${{ secrets.AZURE_SIGNING_CLIENT_SECRET }}
394 ACCOUNT_NAME: ${{ vars.AZURE_SIGNING_ACCOUNT_NAME }}
395 CERT_PROFILE_NAME: ${{ vars.AZURE_SIGNING_CERT_PROFILE_NAME }}
396 ENDPOINT: ${{ vars.AZURE_SIGNING_ENDPOINT }}
397 FILE_DIGEST: SHA256
398 TIMESTAMP_DIGEST: SHA256
399 TIMESTAMP_SERVER: http://timestamp.acs.microsoft.com
400 steps:
401 - name: steps::checkout_repo
402 uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
403 with:
404 clean: false
405 - name: steps::setup_sentry
406 uses: matbour/setup-sentry-cli@3e938c54b3018bdd019973689ef984e033b0454b
407 with:
408 token: ${{ secrets.SENTRY_AUTH_TOKEN }}
409 - name: run_bundling::bundle_windows
410 run: script/bundle-windows.ps1 -Architecture x86_64
411 shell: pwsh
412 working-directory: ${{ env.ZED_WORKSPACE }}
413 - name: '@actions/upload-artifact Zed_${{ github.event.pull_request.head.sha || github.sha }}-x86_64.exe'
414 uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4
415 with:
416 name: Zed_${{ github.event.pull_request.head.sha || github.sha }}-x86_64.exe
417 path: ${{ env.SETUP_PATH }}
418 if-no-files-found: error
419 outputs:
420 zed: Zed_${{ github.event.pull_request.head.sha || github.sha }}-x86_64.exe
421 timeout-minutes: 60
422 upload_release_assets:
423 needs:
424 - create_draft_release
425 - bundle_linux_arm64
426 - bundle_linux_x86_64
427 - bundle_mac_arm64
428 - bundle_mac_x86_64
429 - bundle_windows_arm64
430 - bundle_windows_x86_64
431 runs-on: namespace-profile-4x8-ubuntu-2204
432 steps:
433 - name: release::upload_release_assets::download_workflow_artifacts
434 uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53
435 with:
436 path: ./artifacts/
437 - name: ls -lR ./artifacts
438 run: ls -lR ./artifacts
439 shell: bash -euxo pipefail {0}
440 - name: release::upload_release_assets::prep_release_artifacts
441 run: |-
442 mkdir -p release-artifacts/
443
444 mv ./artifacts/${{ needs.bundle_mac_x86_64.outputs.zed }}/* release-artifacts/Zed-x86_64.dmg
445 mv ./artifacts/${{ needs.bundle_mac_arm64.outputs.zed }}/* release-artifacts/Zed-aarch64.dmg
446 mv ./artifacts/${{ needs.bundle_windows_x86_64.outputs.zed }}/* release-artifacts/Zed-x86_64.exe
447 mv ./artifacts/${{ needs.bundle_windows_arm64.outputs.zed }}/* release-artifacts/Zed-aarch64.exe
448 mv ./artifacts/${{ needs.bundle_linux_arm64.outputs.zed }}/* release-artifacts/zed-linux-aarch64.tar.gz
449 mv ./artifacts/${{ needs.bundle_linux_x86_64.outputs.zed }}/* release-artifacts/zed-linux-x86_64.tar.gz
450 mv ./artifacts/${{ needs.bundle_linux_x86_64.outputs.remote-server }}/* release-artifacts/zed-remote-server-linux-x86_64.gz
451 mv ./artifacts/${{ needs.bundle_linux_arm64.outputs.remote-server }}/* release-artifacts/zed-remote-server-linux-aarch64.gz
452 mv ./artifacts/${{ needs.bundle_mac_x86_64.outputs.remote-server }}/* release-artifacts/zed-remote-server-macos-x86_64.gz
453 mv ./artifacts/${{ needs.bundle_mac_arm64.outputs.remote-server }}/* release-artifacts/zed-remote-server-macos-aarch64.gz
454 shell: bash -euxo pipefail {0}
455 - name: gh release upload "$GITHUB_REF_NAME" --repo=zed-industries/zed release-artifacts/*
456 run: gh release upload "$GITHUB_REF_NAME" --repo=zed-industries/zed release-artifacts/*
457 shell: bash -euxo pipefail {0}
458 env:
459 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
460 auto_release_preview:
461 needs:
462 - upload_release_assets
463 if: |
464 false
465 && startsWith(github.ref, 'refs/tags/v')
466 && endsWith(github.ref, '-pre') && !endsWith(github.ref, '.0-pre')
467 runs-on: namespace-profile-2x4-ubuntu-2404
468 steps:
469 - name: gh release edit "$GITHUB_REF_NAME" --repo=zed-industries/zed --draft=false
470 run: gh release edit "$GITHUB_REF_NAME" --repo=zed-industries/zed --draft=false
471 shell: bash -euxo pipefail {0}
472 env:
473 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
474 - name: release::create_sentry_release
475 uses: getsentry/action-release@526942b68292201ac6bbb99b9a0747d4abee354c
476 with:
477 environment: production
478 env:
479 SENTRY_ORG: zed-dev
480 SENTRY_PROJECT: zed
481 SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
482concurrency:
483 group: ${{ github.workflow }}-${{ github.ref_name }}-${{ github.ref_name == 'main' && github.sha || 'anysha' }}
484 cancel-in-progress: true