stash/internal
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
..
api Add -v/--version flag to print version string (#3883) 2023-07-11 15:54:42 +10:00
autotag SQLite model refactoring (#3791) 2023-06-15 12:46:09 +10:00
build Add -v/--version flag to print version string (#3883) 2023-07-11 15:54:42 +10:00
desktop Add -v/--version flag to print version string (#3883) 2023-07-11 15:54:42 +10:00
dlna SQLite model refactoring (#3791) 2023-06-15 12:46:09 +10:00
identify Identify: Options to skip multiple results and single name performers (#3707) 2023-07-11 14:37:00 +10:00
log Log errors returned from graphql (#3562) 2023-04-17 15:27:25 +10:00
manager Add -v/--version flag to print version string (#3883) 2023-07-11 15:54:42 +10:00
static Male performer images (#3770) 2023-05-31 11:05:28 +10:00