summaryrefslogtreecommitdiff
path: root/export.sh
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-01-03 21:11:28 +0800
committer魏曹先生 <1992414357@qq.com>2026-01-03 21:11:28 +0800
commit9c81dd3d567c620e5876e2c2586e3086272a4d14 (patch)
treef3029d20b1313505d3ed7596c7d9503ee0c35012 /export.sh
parent2e16a556e277035225d02d9a62c2da699235de36 (diff)
Update build timestamp format to seconds
Diffstat (limited to 'export.sh')
-rwxr-xr-xexport.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/export.sh b/export.sh
index c18e41c..ce1a7bd 100755
--- a/export.sh
+++ b/export.sh
@@ -3,9 +3,7 @@
# Require : Cargo (Rust)
# Build
-export FORCE_BUILD=$(date +%Y-%m-%d)
-
-if cargo build --workspace --release; then
+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