This PR addresses the maintenance of the version number.
Typically, the Git repository does not include a VERSION file; it is only created during a release. When there is no VERSION file in the repository, the --version command will display the hash of the latest Git commit. Our version retrieval logic should follow these steps:
If a VERSION file exists, use the version number from the VERSION file.
If there is no VERSION file, use the Git commit hash.
This PR addresses the maintenance of the version number.
Typically, the Git repository does not include a VERSION file; it is only created during a release. When there is no VERSION file in the repository, the --version command will display the hash of the latest Git commit. Our version retrieval logic should follow these steps: