Deployment improvements #93

Merged
lucas merged 2 commits from feat/deployment-improvements into master 2023-03-28 21:38:45 +02:00
Showing only changes of commit dbbfa6c9ae - Show all commits

View file

@ -597,7 +597,7 @@ pub(crate) async fn deploy_mods(state: ActionState) -> Result<()> {
.wrap_err("Failed to re-create backup for bundle database.") .wrap_err("Failed to re-create backup for bundle database.")
}, },
async { async {
let path = bundle_dir.join(BOOT_BUNDLE_NAME); let path = bundle_dir.join(boot_bundle_path);
let backup_path = path.with_extension("bak"); let backup_path = path.with_extension("bak");
fs::copy(&path, &backup_path) fs::copy(&path, &backup_path)