summaryrefslogtreecommitdiff
path: root/export.sh
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-01-03 21:05:18 +0800
committer魏曹先生 <1992414357@qq.com>2026-01-03 21:05:18 +0800
commit2e16a556e277035225d02d9a62c2da699235de36 (patch)
tree6e81b9251c71d31620f60381b13af53888d216a0 /export.sh
parent7f3e51cf19e23292ab2087f521408c70c92f12fe (diff)
Add Git branch and commit info to compile info
- Include branch and commit hash in compile info display - Add build script functions to extract git metadata - Update export scripts to force rebuilds when needed - Extend share command with placeholder implementations
Diffstat (limited to 'export.sh')
-rwxr-xr-xexport.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/export.sh b/export.sh
index 66e85f2..c18e41c 100755
--- a/export.sh
+++ b/export.sh
@@ -3,6 +3,8 @@
# Require : Cargo (Rust)
# Build
+export FORCE_BUILD=$(date +%Y-%m-%d)
+
if cargo build --workspace --release; then
# Export
if cargo run --manifest-path crates/build_helper/Cargo.toml --bin exporter; then