diff options
| -rw-r--r-- | deploy.ps1 | 2 | ||||
| -rwxr-xr-x | deploy.sh | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -9,7 +9,7 @@ if ($LASTEXITCODE -ne 0) { # Build succeeded # Export if (cargo run --manifest-path crates/build_helper/Cargo.toml --bin exporter) { - Remove-Item -Path src\data\compile_info.rs -ErrorAction SilentlyContinue + Copy-Item -Path src\data\compile_info.rs.template -Destination src\data\compile_info.rs -Force ISCC /Q .\setup\windows\setup_jv_cli.iss } } @@ -6,7 +6,7 @@ if FORCE_BUILD=$(date +%s) cargo build --workspace --release; then # Export if cargo run --manifest-path crates/build_helper/Cargo.toml --bin exporter; then - # Delete compile_info.rs after successful export - rm -f src/data/compile_info.rs + # Copy compile_info.rs.template to compile_info.rs after successful export + cp -f src/data/compile_info.rs.template src/data/compile_info.rs fi fi |
