diff --git a/pkg/common/config/config.go b/pkg/common/config/config.go index 5dc227243..28c5dc589 100644 --- a/pkg/common/config/config.go +++ b/pkg/common/config/config.go @@ -8,9 +8,13 @@ import ( "path/filepath" "runtime" + _ "embed" "gopkg.in/yaml.v3" ) +//go:embed version +var Version string + var ( _, b, _, _ = runtime.Caller(0) // Root folder of this project diff --git a/pkg/common/config/version b/pkg/common/config/version new file mode 100644 index 000000000..1c5ae5820 --- /dev/null +++ b/pkg/common/config/version @@ -0,0 +1 @@ +v3.0.0 \ No newline at end of file