mirror of
https://github.com/tailscale/tailscale.git
synced 2025-10-28 05:00:08 +00:00
Move Linux client & common packages into a public repo.
This commit is contained in:
11
version/version.h.do
Normal file
11
version/version.h.do
Normal file
@@ -0,0 +1,11 @@
|
||||
redo-ifchange long.txt short.txt
|
||||
read -r long <long.txt
|
||||
read -r short <short.txt
|
||||
|
||||
# get it into "major.minor.patch" format
|
||||
ver=$(echo "$ver" | sed -e 's/-/./')
|
||||
|
||||
(
|
||||
printf '#define TAILSCALE_VERSION_LONG "%s"\n' "$long"
|
||||
printf '#define TAILSCALE_VERSION_SHORT "%s"\n' "$short"
|
||||
) >$3
|
||||
Reference in New Issue
Block a user