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

Show more than (None) is uncommitted changes #33

Open
tdegeus opened this issue Jan 3, 2023 · 1 comment
Open

Show more than (None) is uncommitted changes #33

tdegeus opened this issue Jan 3, 2023 · 1 comment

Comments

@tdegeus
Copy link

tdegeus commented Jan 3, 2023

Thanks for this amazing package!

I would like to always to version information regardless if the commit is tagged, there have been committed changes since the last tag, there is no tag, or even if there are uncommitted changes.

In particular, I would (something) like to use what is proposed in setuptools_scm as follows:

  1. no distance and clean:
    {tag}
    
  2. distance and clean:
    {next_version}.dev{distance}+{scm letter}{revision hash}
    
  3. no distance and not clean:
    {tag}+dYYYYMMDD
    
  4. distance and not clean:
    {next_version}.dev{distance}+{scm letter}{revision hash}.dYYYYMMDD
    
    The next version is calculated by adding 1 to the last numeric component of the tag.

How can I do that?

@josephwright
Copy link

josephwright commented Aug 7, 2023

This repository is no longer active: please re-report issues at https://github.com/josephwright/gitinfo2/issues

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

2 participants