-
Notifications
You must be signed in to change notification settings - Fork 4
Support configurable Git tag format #190
Copy link
Copy link
Labels
RFCProposed feature or change - open for feedbackProposed feature or change - open for feedbackcrt:sampoChanges in Sampo CLI crate.Changes in Sampo CLI crate.crt:sampo-coreChanges in Sampo core logic or internal utils.Changes in Sampo core logic or internal utils.crt:sampo-github-actionChanges in Sampo's Github action crate.Changes in Sampo's Github action crate.
Metadata
Metadata
Assignees
Labels
RFCProposed feature or change - open for feedbackProposed feature or change - open for feedbackcrt:sampoChanges in Sampo CLI crate.Changes in Sampo CLI crate.crt:sampo-coreChanges in Sampo core logic or internal utils.Changes in Sampo core logic or internal utils.crt:sampo-github-actionChanges in Sampo's Github action crate.Changes in Sampo's Github action crate.
Introduce two configuration options,
tag-formatandshort-tag-format, to let users customise the format of Git tags generated by Sampo. Both options must support interpolation of{package-name}and{version}.Default configuration:
Open question: handling tag collisions
What is the best approach if
tag-formatdoes not include{package-name}and multiple packages might generate the exact same tag for a given version? Should Sampo prevent this at config-time, warn, or leave it to the user?