Add `--short` flag to odigos version command
edeNFed opened this issue · comments
Currently running odigos version
will print the full version of the CLI and the version installed on the current cluster.
I propose adding a new flag which can be used like: odigos version --short
, this flag will return only the current version of the CLI without any additional data.
for example
> odigos install --short
v1.0.21
By implementing this feature we will be able to automatically get the current version in the Makefile
without having to specify TAG
env var.
I'd like to work on this
I'd like to work on this
Thanks @WallysFerreira , please reach out if you need any help with this
When you execute go run . install
from the code, you need to specify the version you are installing like this:
go run . install --version v1.0.27
.
For official releases, the version is embedded in the CI, but for development you need to set it directly