mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-25 01:34:02 +00:00
Clear out bundle directory before creating a new app bundle
This commit is contained in:
parent
499d947e69
commit
6410fdc474
2 changed files with 1 additions and 1 deletions
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
|
@ -121,7 +121,6 @@ jobs:
|
||||||
draft: true
|
draft: true
|
||||||
prerelease: ${{ env.RELEASE_CHANNEL == 'preview' }}
|
prerelease: ${{ env.RELEASE_CHANNEL == 'preview' }}
|
||||||
files: target/release/Zed.dmg
|
files: target/release/Zed.dmg
|
||||||
overwrite: true
|
|
||||||
body: ""
|
body: ""
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
|
@ -28,6 +28,7 @@ sed \
|
||||||
-i .backup \
|
-i .backup \
|
||||||
"s/package.metadata.bundle-${channel}/package.metadata.bundle/" \
|
"s/package.metadata.bundle-${channel}/package.metadata.bundle/" \
|
||||||
Cargo.toml
|
Cargo.toml
|
||||||
|
rm -rf target/x86_64-apple-darwin/release/bundle
|
||||||
app_path=$(cargo bundle --release --target x86_64-apple-darwin | xargs)
|
app_path=$(cargo bundle --release --target x86_64-apple-darwin | xargs)
|
||||||
mv Cargo.toml.backup Cargo.toml
|
mv Cargo.toml.backup Cargo.toml
|
||||||
popd
|
popd
|
||||||
|
|
Loading…
Reference in a new issue