Csaba Maulis
0c0ba19a23
Add -v/--version flag to print version string ( #3883 )
...
* Add `-v/--version` flag to print version string
- Created a new flag `-v/--version` in the command-line interface to display the version number and exit.
- Moved all version-related functions inside the config package to the new file `manager/config/version.go` to avoid circular dependencies.
- Added a new `GetVersionString()` function to generate a formatted version string.
- Updated references to the moved version functions.
- Updated references in the `Makefile`.
* Move version embeds to build package
* Remove githash var
---------
Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com >
2023-07-11 15:54:42 +10:00
..
2022-09-06 07:04:52 +00:00
2023-06-15 12:46:09 +10:00
2023-04-19 13:01:32 +10:00
2023-06-15 12:46:09 +10:00
2023-07-11 15:54:42 +10:00
2022-03-17 11:33:59 +11:00
2022-03-17 11:33:59 +11:00
2023-05-26 09:49:00 +10:00
2023-05-31 11:05:28 +10:00
2022-11-22 18:27:47 -05:00
2023-06-15 12:46:09 +10:00
2023-03-16 15:04:54 +11:00
2023-05-17 09:30:51 +10:00
2023-06-16 10:46:14 +10:00
2023-06-16 10:46:14 +10:00
2023-06-15 12:46:09 +10:00
2023-05-17 09:30:51 +10:00
2023-06-16 10:46:14 +10:00
2023-06-16 10:46:14 +10:00
2023-07-11 14:02:09 +10:00
2022-09-06 07:03:40 +00:00
2023-03-29 09:28:11 +11:00
2023-06-15 12:46:09 +10:00
2023-06-15 12:46:09 +10:00
2022-03-17 11:33:59 +11:00
2022-12-23 09:15:27 +11:00
2023-03-17 10:52:49 +11:00
2023-06-15 12:46:09 +10:00
2023-06-15 12:46:09 +10:00
2022-09-06 07:03:40 +00:00
2023-06-22 10:32:46 +10:00
2023-06-15 12:46:09 +10:00
2022-03-17 11:33:59 +11:00
2023-06-15 12:46:09 +10:00
2023-06-15 12:46:09 +10:00
2023-06-15 12:46:09 +10:00
2023-06-15 12:46:09 +10:00
2023-07-11 14:02:09 +10:00
2022-09-06 07:03:40 +00:00
2023-06-15 12:46:09 +10:00
2023-06-15 12:46:09 +10:00
2023-06-15 12:46:09 +10:00
2023-06-15 12:46:09 +10:00
2023-06-15 12:46:09 +10:00
2023-02-20 09:24:47 +11:00
2023-06-15 12:46:09 +10:00
2023-06-15 12:46:09 +10:00
2023-06-15 12:46:09 +10:00
2022-09-06 07:03:40 +00:00
2022-09-06 07:03:40 +00:00
2022-09-06 07:03:40 +00:00
2022-09-06 07:03:40 +00:00
2023-06-15 12:46:09 +10:00
2022-09-06 07:03:40 +00:00
2022-09-06 07:03:40 +00:00
2022-09-06 07:03:40 +00:00
2023-07-11 15:54:42 +10:00
2022-11-22 10:21:15 +11:00
2022-03-17 11:33:59 +11:00
2023-05-17 09:30:51 +10:00
2023-04-19 13:01:32 +10:00
2023-04-19 13:01:32 +10:00
2023-07-11 14:02:09 +10:00
2023-04-19 13:01:32 +10:00
2023-04-19 13:01:32 +10:00
2022-09-06 07:03:40 +00:00
2023-07-11 15:54:42 +10:00
2023-04-19 13:01:32 +10:00
2022-09-06 07:03:42 +00:00