From 0b4b5308099e2140074a0fb1ae13889a645ee581 Mon Sep 17 00:00:00 2001 From: Jiang Zhu Date: Sat, 11 Jun 2022 16:41:52 +0800 Subject: [PATCH] remove the hardcoded version(suggested by @kradalby) --- docs/running-headscale-openbsd.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/running-headscale-openbsd.md b/docs/running-headscale-openbsd.md index 9d4d3117..6a307f91 100644 --- a/docs/running-headscale-openbsd.md +++ b/docs/running-headscale-openbsd.md @@ -27,7 +27,11 @@ git clone https://github.com/juanfont/headscale.git cd headscale # 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