remove the hardcoded version(suggested by @kradalby)
This commit is contained in:
parent
de0e2bf828
commit
0b4b530809
1 changed files with 5 additions and 1 deletions
|
@ -27,7 +27,11 @@ git clone https://github.com/juanfont/headscale.git
|
||||||
cd headscale
|
cd headscale
|
||||||
|
|
||||||
# optionally checkout a release
|
# optionally checkout a release
|
||||||
git checkout v0.16.0-beta1
|
# option a. you can find offical relase at https://github.com/juanfont/headscale/releases/latest
|
||||||
|
# option b. get latest tag, this may be a beta relase
|
||||||
|
latestTag=$(git describe --tags `git rev-list --tags --max-count=1`)
|
||||||
|
|
||||||
|
git checkout $latestTag
|
||||||
|
|
||||||
gmake build
|
gmake build
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue