summaryrefslogtreecommitdiff
path: root/export.sh
diff options
context:
space:
mode:
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