mirror of
https://github.com/gravitl/netmaker.git
synced 2025-09-16 18:14:23 +08:00
Prepend a 'v' when version is not 'latest' and lacks a leading 'v'. Partially addresses #403
This commit is contained in:
parent
54788f3f6d
commit
6495c8695d
1 changed files with 1 additions and 0 deletions
|
@ -8,6 +8,7 @@ fi
|
|||
|
||||
[ -z "$KEY" ] && KEY=nokey;
|
||||
[ -z "$VERSION" ] && echo "no \$VERSION provided, fallback to latest" && VERSION=latest;
|
||||
[ "latest" != "$VERSION" ] && [ "v" != `echo $VERSION | cut -c1` ] && VERSION="v$VERSION"
|
||||
|
||||
dist=netclient
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue