Skip to content
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

Can it also tell me the git ref? #24

Open
MatrixManAtYrService opened this issue Mar 25, 2022 · 0 comments
Open

Can it also tell me the git ref? #24

MatrixManAtYrService opened this issue Mar 25, 2022 · 0 comments

Comments

@MatrixManAtYrService
Copy link

MatrixManAtYrService commented Mar 25, 2022

Hi. Thanks for poetry-version-plugin, I've found it really easy to use. Now I can do:

$ mycliapp --version
mycliapp 1.2.3dev4

Sometimes I forget to add a tag, and an untagged version ends up in a co-worker's hands. When this happens it's hard to be sure which version they actually have. I'd like to be able to do this instead:

$ mycliapp --version
mycliapp 1.2.3dev4 
88f9aaf02cbdc6a2a5972c07b167e78314ad153b

Where 88f...3b is the current git ref (not the ref of the tag, which might be i the past). Is this information available?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant