From 2be16b581c3857bcae2ca34f13e2b257be058423 Mon Sep 17 00:00:00 2001 From: Jiang Zhu Date: Sat, 11 Jun 2022 17:23:01 +0800 Subject: [PATCH] 1) fix typo 2) another hard coded version --- docs/running-headscale-openbsd.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/running-headscale-openbsd.md b/docs/running-headscale-openbsd.md index 6a307f91..dcd1c9bb 100644 --- a/docs/running-headscale-openbsd.md +++ b/docs/running-headscale-openbsd.md @@ -28,7 +28,7 @@ cd headscale # optionally checkout a release # 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 +# option b. get latest tag, this may be a beta release latestTag=$(git describe --tags `git rev-list --tags --max-count=1`) git checkout $latestTag @@ -54,7 +54,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 release +latestTag=$(git describe --tags `git rev-list --tags --max-count=1`) + +git checkout $latestTag make build GOOS=openbsd