Skip to content
Merged
Next Next commit
backend: update release version with placeholder
  • Loading branch information
wilhelmguo committed Dec 20, 2018
commit 5a64558a9484fef3d4420c83699c0c12a3485177
2 changes: 1 addition & 1 deletion src/backend/controllers/openapi/openapi.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// Schemes: https
// Host: localhost
// BasePath: /openapi/v1/gateway/action
// Version: 1.1.0
// Version: __version__
//
// Consumes:
// - application/json
Expand Down
2 changes: 1 addition & 1 deletion src/backend/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"github.com/Qihoo360/wayne/src/backend/cmd"
)

var Version string = "1.1.0"
const Version = "__version__"

func main() {
cmd.Version = Version
Expand Down