mirror of
https://github.com/thomiceli/opengist.git
synced 2025-07-09 01:18:04 +02:00
Set Opengist version from git tags (#261)
* Set Opengist version from git tags * Add volume for docker dev container
This commit is contained in:
@ -20,7 +20,7 @@ var CmdVersion = cli.Command{
|
||||
Name: "version",
|
||||
Usage: "Print the version of Opengist",
|
||||
Action: func(c *cli.Context) error {
|
||||
fmt.Println("Opengist v" + config.OpengistVersion)
|
||||
fmt.Println("Opengist " + config.OpengistVersion)
|
||||
return nil
|
||||
},
|
||||
}
|
||||
@ -57,7 +57,7 @@ func App() error {
|
||||
}
|
||||
|
||||
func Initialize(ctx *cli.Context) {
|
||||
fmt.Println("Opengist v" + config.OpengistVersion)
|
||||
fmt.Println("Opengist " + config.OpengistVersion)
|
||||
|
||||
if err := config.InitConfig(ctx.String("config"), os.Stdout); err != nil {
|
||||
panic(err)
|
||||
|
Reference in New Issue
Block a user