antonmedv / walk

Terminal file manager
MIT License
3.22k stars 89 forks source link

Add `--version` option #43

Closed guy-av closed 1 year ago

guy-av commented 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.

If you were to build llama and want a different version than dev, either change Version in main.go or build again with flags:

$ go build -ldflags="-X main.Version=<version>"

Closes #34.

mjsteinbaugh commented 1 year ago

Awesome thanks @guy-av !