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

Adding git describe --tags [--long] in properties #18

Open
sebastiano-pera-netventure opened this issue Dec 31, 2024 · 0 comments
Open

Comments

@sebastiano-pera-netventure
Copy link

sebastiano-pera-netventure commented Dec 31, 2024

Hello, thanks a lot for this extremely useful library.
There are only 2 things I would really like to see as output, which are the git describe --tags and the git describe --tags --long commands.

An example output is

C:\MyRepo\>  git describe --tags
v2.0.0-alpha

And in cases I add some commits to the previous branch I get an incremental counter for each commit and the short hash version, which is similar to the command

C:\MyRepo\>  git describe --tags --long
v2.0.0-alpha-0-g45b7bed

I think it is extremely useful because it is for most cases self-explainatory and safe because I don't think it can generate duplicates.

Is there a reason why they are not included already?

Or otherwise, how do I obtain the full tag name with the trailing strings like "-alpha" or "-RC1"?

Thanks

@sebastiano-pera-netventure sebastiano-pera-netventure changed the title Adding git describe --tags_ in properties and tag property Adding _git describe --tags_ in properties and tag property Dec 31, 2024
@sebastiano-pera-netventure sebastiano-pera-netventure changed the title Adding _git describe --tags_ in properties and tag property Adding git describe --tags [--long] in properties Dec 31, 2024
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