UpCloudLtd / upcloud-cli

UpCloud command line client (upctl)
https://upcloudltd.github.io/upcloud-cli/
MIT License
29 stars 7 forks source link

feat: parse version from `BuildInfo` if it was not defined during build #192

Closed kangasta closed 1 year ago

kangasta commented 1 year ago

This adds meaningful version info also to binaries created with go install without defining -ldflags to override .../config.Version variable.

villevsv-upcloud commented 1 year ago

Looks good! Tested locally and got expected v2.2.0-9-gc95605f

Same & same!