You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
~/app/sub-folder/my-pkg$ setuptools-git-versioning
[2024-01-24 15:37:18,569] WARNING: tag_filter is not a valid function reference: Wrong reference name: my-pkg/(?P<tag>.*)
0.0.1
Now when I do tag something (e.g., my-pkg/1.0.0), it gives me something different
~/app/sub-folder/my-pkg$ setuptools-git-versioning
[2024-01-24 15:38:02,986] WARNING: tag_filter is not a valid function reference: Wrong reference name: my-pkg/(?P<tag>.*)
[2024-01-24 15:38:03,009] WARNING: tag_formatter is not a valid function reference: Wrong reference name: .*/(?P<tag>.*)
1.0.0+master.9ff32a07.dirty
If I tag my current commit and have a clean working tree I get below, which is expected, but error messages are confusing. These don't really matter though.
~/app/sub-folder/my-pkg$ git tag my-pkg/1.1.0
~/app/sub-folder/my-pkg$ setuptools-git-versioning
[2024-01-24 15:39:47,446] WARNING: tag_filter is not a valid function reference: Wrong reference name: my-pkg/(?P<tag>.*)
[2024-01-24 15:39:47,474] WARNING: tag_formatter is not a valid function reference: Wrong reference name: .*/(?P<tag>.*)
1.1.0
So the crux of the issue is that when there is no tag and a filter, it won't append the VCS info.
The text was updated successfully, but these errors were encountered:
I am using this in a monorepo with the following structure:
The configuration is
Running the command below, without any tag:
Now when I do tag something (e.g.,
my-pkg/1.0.0
), it gives me something differentIf I tag my current commit and have a clean working tree I get below, which is expected, but error messages are confusing. These don't really matter though.
So the crux of the issue is that when there is no tag and a filter, it won't append the VCS info.
The text was updated successfully, but these errors were encountered: