iterative / gto

🏷️ Git Tag Ops. Turn your Git repository into Artifact Registry or Model Registry.
https://dvc.org/doc/gto
Apache License 2.0
142 stars 16 forks source link

Bug: `--bump-...` falgs don't work #407

Closed mnrozhkov closed 1 year ago

mnrozhkov commented 1 year ago

How to reproduce:

gto register nn
gto register nn --bump-minor 

Unexpected error

❌ 'nn' is already registered in this commit with version 'v0.0.1'

Expected behavior: GTP register a new version 'v0.0.2'

Note: same error with --bump-patch and --bump-major as well

shcheklein commented 1 year ago

Does it happen since we don't allow multiple versions to be registered within a single commit / rev? Would you expect that to work, @mnrozhkov ?

mnrozhkov commented 1 year ago

Thank @shcheklein ! I totally missed the detail that 1 tag per commit.