Skip to content
This repository has been archived by the owner on Oct 12, 2024. It is now read-only.

Can it also tell me the git ref? #24

Closed
MatrixManAtYrService opened this issue Mar 25, 2022 · 1 comment
Closed

Can it also tell me the git ref? #24

MatrixManAtYrService opened this issue Mar 25, 2022 · 1 comment

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?

@tiangolo
Copy link
Owner

tiangolo commented Sep 8, 2024

Thanks for the patience with my reply! 😅

I just marked this project as deprecated, I'm currently not using it and I think these ideas can be achieved in better ways: https://github.com/tiangolo/poetry-version-plugin#-warning-deprecated-

Given that I'll close this one, but thanks for the interest! ☕

@tiangolo tiangolo closed this as completed Sep 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants