-
Notifications
You must be signed in to change notification settings - Fork 127
Open
Description
I want to get some metadata on the current news fragments, specifically the type. The idea is to save this result somewhere and use it to determine the semantic version to use. For instance, if the fragments were validated against my config and returned "bugfix,feat,bugfix,doc" I would use that and say, ok "feat" is the highest so I can run hatch version minor
in my pipeline. Is this a good idea? bad idea?
As far as I can tell the closest way to do this is parse the towncrier check
output. But that's not ideal because I can't take advantage of all of the useful utility functions already in place like parse_newfragment_basename. Is there an existing practical solution I am missing?
Metadata
Metadata
Assignees
Labels
No labels