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
If we use cargo release in a workspace, it would try to tag with like [crate-name]-[semver]. On the other hand, conventional-changelog tries to gain commit logs, finding tags named like just [semver]. So it is not be processed properly.
There might be some solutions:
Provide a way to tag without crate name when releasing a workspace, specifying main crate. The only main crate would be tagged as a pure sem-ver.
Provide a way to pass "" (empty string) to the tag-prefix option.
Provide a way to pass a crate version variable to "tag-name" option value.
Or should I just push a tag of a pure sem-ver without any prefixes manually?
The text was updated successfully, but these errors were encountered:
By default, the root crate is not given a tag-prefix. If you have do not have a root crate in your workspace, then you can override the tag-prefix in your "main" crate to be empty. You can also override tag-name but I'm assuming tag-prefix is preferred.
Hi,
I wanted to use
cargo release
with conventional-changelog but there was a problem.If we use
cargo release
in a workspace, it would try to tag with like[crate-name]-[semver]
. On the other hand,conventional-changelog
tries to gain commit logs, finding tags named like just[semver]
. So it is not be processed properly.There might be some solutions:
main
crate. The onlymain
crate would be tagged as a pure sem-ver.tag-prefix
option.Or should I just push a tag of a pure sem-ver without any prefixes manually?
The text was updated successfully, but these errors were encountered: