浏览代码

missing version

theguy951357 2 年之前
父节点
当前提交
e87c1a34f9
共有 4 个文件被更改,包括 4 次插入4 次删除
  1. 1 1
      main.go
  2. 1 1
      release.md
  3. 1 1
      scripts/nm-upgrade.sh
  4. 1 1
      swagger.yaml

+ 1 - 1
main.go

@@ -27,7 +27,7 @@ import (
 	stunserver "github.com/gravitl/netmaker/stun-server"
 )
 
-var version = "v"
+var version = "v0.18.6"
 
 // Start DB Connection and start API Request Handler
 func main() {

+ 1 - 1
release.md

@@ -1,4 +1,4 @@
-# Netmaker v
+# Netmaker v0.18.6
 
 ## **Wait till out of pre-release to fully upgrade**
 

+ 1 - 1
scripts/nm-upgrade.sh

@@ -1,6 +1,6 @@
 #!/bin/bash
 
-LATEST="v"
+LATEST="v0.18.5"
 
 # check_version - make sure current version is 0.17.1 before continuing
 check_version() {

+ 1 - 1
swagger.yaml

@@ -704,7 +704,7 @@ info:
 
         API calls must be authenticated via a header of the format -H “Authorization: Bearer <YOUR_SECRET_KEY>” There are two methods to obtain YOUR_SECRET_KEY: 1. Using the masterkey. By default, this value is “secret key,” but you should change this on your instance and keep it secure. This value can be set via env var at startup or in a config file (config/environments/< env >.yaml). See the [Netmaker](https://docs.netmaker.org/index.html) documentation for more details. 2. Using a JWT received for a node. This can be retrieved by calling the /api/nodes/<network>/authenticate endpoint, as documented below.
     title: Netmaker
-    version: 
+    version: 0.18.6
 paths:
     /api/dns:
         get: