mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-29 04:55:31 +00:00
7 lines
232 B
Plaintext
7 lines
232 B
Plaintext
|
# --abbrev=200 is an arbitrary large number to capture the entire git
|
||
|
# hash without trying to compact it.
|
||
|
commit=$(cd ../.. && git describe --dirty --exclude "*" --always --abbrev=200)
|
||
|
echo "$commit" >$3
|
||
|
redo-always
|
||
|
redo-stamp <$3
|