Closed guy-av closed 1 year ago
Hey, Stumbled upon this repo and loved the concept. The lack of versioning bothered me as well as it did @mjsteinbaugh , so I added some.
It adds a Version variable that will update in CD.
Version
If you were to build llama and want a different version than dev, either change Version in main.go or build again with flags:
llama
dev
main.go
$ go build -ldflags="-X main.Version=<version>"
Closes #34.
Awesome thanks @guy-av !
Hey, Stumbled upon this repo and loved the concept. The lack of versioning bothered me as well as it did @mjsteinbaugh , so I added some.
It adds a
Version
variable that will update in CD.If you were to build
llama
and want a different version thandev
, either changeVersion
inmain.go
or build again with flags:Closes #34.