From 45ab6b03fd5e5140e0f2df4c6834d219c94ac2b6 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Mon, 8 Dec 2025 21:00:30 +0800 Subject: Make export script only run exporter after successful build --- export.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/export.sh b/export.sh index 5c3cbc1..5428107 100755 --- a/export.sh +++ b/export.sh @@ -1,7 +1,7 @@ #!/bin/bash # Build -cargo build --workspace --release - -# Export -cargo run --manifest-path crates/build_helper/Cargo.toml --bin exporter +if cargo build --workspace --release; then + # Export + cargo run --manifest-path crates/build_helper/Cargo.toml --bin exporter +fi -- cgit