Skip to content

Show more than (None) is uncommitted changes #33

@tdegeus

Description

@tdegeus

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions