mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Stamp engine version in ENGINE/.engine_version.txt
This commit is contained in:
committed by
David Glasser
parent
40df772498
commit
37de5dae21
@@ -44,3 +44,10 @@ rm -rf "$TARGET_DIR"/examples/other
|
||||
|
||||
# mark directory with current git sha
|
||||
git rev-parse HEAD > "$TARGET_DIR/.git_version.txt"
|
||||
|
||||
# generate engine version: directory hash that depends only on file
|
||||
# contents but nothing else, eg modification time
|
||||
echo -n "Computing engine version... "
|
||||
ENGINE_VERSION=$("$TARGET_DIR"/tools/admin/hash-dir.sh)
|
||||
echo $ENGINE_VERSION
|
||||
echo "$ENGINE_VERSION" > "$TARGET_DIR/.engine_version.txt"
|
||||
|
||||
Reference in New Issue
Block a user