your-tools / tbump

Bump software releases
BSD 3-Clause "New" or "Revised" License
158 stars 22 forks source link

add config for field defaults #122

Closed minrk closed 3 years ago

minrk commented 3 years ago

allows a version_template to include fields without a match in the version regex without triggering BadSubstitution.

It's not possible to omit fields, which would require a different version template, but they can be empty strings, 0, etc.

This seemed to fit best into how things work for other options, but happy to change names of things, or just close if you don't like how this looks. In particular, I don't know if field is the right name for it, but it is what came to mind.

closes #121

dmerejkowsky commented 3 years ago

Applied, thanks. Sorry for the delay.