From 5bb36e740cf36e135a24b13a767bfa19d1af4c2d Mon Sep 17 00:00:00 2001 From: Denton Gentry Date: Thu, 24 Jun 2021 22:08:13 -0700 Subject: [PATCH] version: use build_dist.sh shellvars The Tailscale OSS repo has removed version/version.sh, use `build_dist.sh shellvars` instead. Signed-off-by: Denton Gentry --- version/tailscale-version.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/version/tailscale-version.sh b/version/tailscale-version.sh index 89cee77..8491d62 100755 --- a/version/tailscale-version.sh +++ b/version/tailscale-version.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env sh +#!/usr/bin/env bash # Copyright (c) 2020 Tailscale Inc & AUTHORS All rights reserved. # Use of this source code is governed by a BSD-style @@ -37,5 +37,5 @@ git reset --hard -q git clean -d -x -f git fetch -q --all --tags git checkout -q "$mod_version" -eval $( ./version/version.sh) +eval $( ./build_dist.sh shellvars) echo $VERSION_LONG