-
-
Notifications
You must be signed in to change notification settings - Fork 265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Current version not showing when installed via source code #344
Comments
Can confirm. I bumped into the same error while looking into #341 . This issue should be fixed before trying to implement the update feature in my opinion. |
AdnanHodzic
pushed a commit
that referenced
this issue
Jan 8, 2022
The command only worked when running it inside the git repository. Now, it works from everywhere, and the version is constructed using the latest git tag and the SHA of the latest commit, which may help with further debugging in future issues.
AdnanHodzic
pushed a commit
that referenced
this issue
Jan 9, 2022
* Fixed the --version command when installed from source (#344) The command only worked when running it inside the git repository. Now, it works from everywhere, and the version is constructed using the latest git tag and the SHA of the latest commit, which may help with further debugging in future issues. * Improving version output. Renaming version_config to setuptools_git_versioning to be compliant with new plugin version. Formatted the version when a git hash is present for a better readability. The version is set in the setup.py file. This will be used for the tar.gz releases. Snap version is also retrieved from setup.py too, so we avoid code repetition.
Issue permanently resolved as part of 1.9.1 release. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Error output:
Additional info
The current version is not showing up. I pulled the code via git into my
/home
and installed it from there. Is there an option to tell the current installed version where to find the git repo and get the info regarding the version. Moreover, I wonder what would be the proper way to update the software and if it would be better to put the git repo into/opt/auto-cpufreq
.System Information
The text was updated successfully, but these errors were encountered: