chanzuckerberg / fogg

Manage Infrastructure as Code with less pain.
https://chanzuckerberg.github.io/fogg/
MIT License
294 stars 20 forks source link

fix: allow bumps for patches/fixes--more in description #1015

Closed kuannie1 closed 6 months ago

kuannie1 commented 6 months ago

Summary

The ranking goes like this: major (with !), minor (feat), then patch (fix).

I added the bump-patch-for-minor-pre-major field because that allows "fix"es to also bump up the version by treating them as "minor" bumps. We're also under version 1.0.0, so these values are relevant fogg at its current state.

My recent change (#1012) will need a bump in order to go through. Even though I labeled it as a "fix", it's a change that has implications for all fogg users.

Test Plan

Say unittests, or list out steps to verify changes.

References

(Optional) Additional links to provide more context.