-
Notifications
You must be signed in to change notification settings - Fork 5
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
Show gooseBit version in UI #178
Comments
Not sure exactly how to get the git hash integrated into there, this might work, but I assume reading the version should be easy enough. I'll start there. |
Personally, I like the “versioning with Git (tags) only” approach. Maybe this could work for us: https://pypi.org/project/poetry-git-version-plugin/ |
Just need to figure out how to store that somewhere as part of an action, which might be tough. This should be available to versions even if they're not being run from git. The other option is we just try to source the git hash and use that, and if there is no git repo we use the project version. |
I don’t understand. Either the version is baked by the plugin into the package or retrieved from the repo. In which situation does that not work? At least that is how the plugin should work IMHO. But, I haven’t looked at it. |
OK, I guess there is the situation where someone wants to run the app from a Git checkout and does not have Git installed or a tarball from GitHub. If we want to support those use cases, the plugin won't work. |
poetry-dynamic-versioning seems to be the better plugin. |
I actually don't really use Poetry. So, if these plugins don't support
I am not a fan. Still, I would really like to see versions like |
I gave poetry-dynamic-versioning a quick try (#194) and it seems to work well enough with Personally, I prefer not having to create "bump" commits, pushing a Git tag should be all it takes to create a release. |
I get what you mean, but not sure how else to do that. AFAIU it's not feasible for a tag to be pushed then the poetry version number updated, so I am ok with the extra step for now. |
With poetry-dynamic-versioning the workflow would be like this:
Would that not work for you? |
This seems fine, let me do some looking and I'll see. |
Having the gooseBit version (including Git hash for pre-releases) somewhere in the UI would be very handy.
The text was updated successfully, but these errors were encountered: