Skip to content

Commit

Permalink
Do not specify tagprefix since there is none in tags for hed-python
Browse files Browse the repository at this point in the history
Without it "version" does not include version at all! E.g. could be

    ❯ python -c 'from hed._version import get_versions; print(get_versions())'
    {'version': '0+untagged.2400.g10fe30e', ...

after this fix

    ❯ python -c 'from hed._version import get_versions; print(get_versions())'
    {'version': '0.5.0+145.g10fe30e1.dirty', ...
  • Loading branch information
yarikoptic committed Oct 14, 2024
1 parent 10fe30e commit e77e048
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hed/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def get_config() -> VersioneerConfig:
cfg = VersioneerConfig()
cfg.VCS = "git"
cfg.style = "pep440"
cfg.tag_prefix = "hedtools-"
cfg.tag_prefix = ""
cfg.parentdir_prefix = "hedtools-"
cfg.versionfile_source = "hed/_version.py"
cfg.verbose = False
Expand Down

0 comments on commit e77e048

Please sign in to comment.