Clear out bundle directory before creating a new app bundle

This commit is contained in:
Max Brunsfeld 2022-10-26 17:48:29 -07:00
parent 499d947e69
commit 6410fdc474
2 changed files with 1 additions and 1 deletions

View file

@ -28,6 +28,7 @@ sed \
-i .backup \
"s/package.metadata.bundle-${channel}/package.metadata.bundle/" \
Cargo.toml
rm -rf target/x86_64-apple-darwin/release/bundle
app_path=$(cargo bundle --release --target x86_64-apple-darwin | xargs)
mv Cargo.toml.backup Cargo.toml
popd