Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it configurable whether +patch is assumed fallback. #5

Open
JKrag opened this issue Sep 21, 2017 · 1 comment
Open

Make it configurable whether +patch is assumed fallback. #5

JKrag opened this issue Sep 21, 2017 · 1 comment

Comments

@JKrag
Copy link
Member

JKrag commented Sep 21, 2017

When I made this, I assumed that we always want to default to +patch and only have users specify major and minor.

I have since considered that this can be unsafe as we would potentially release bigger changes as patch bumps.

I would like to make it an optional feature. Ideally support the following modes:
a) Require a bump in every commit - else fail.
b) Default to patch bump (previous behaviour)
c) Default to major bump (the paranoid approach - if the developer hasn't explicitly stated otherwise, we assume that he broke something)
d) Default to minor bump - mostly for completeness, but potentially quite useful for 0.x.x initial development.

@JKrag
Copy link
Member Author

JKrag commented Jun 5, 2018

For ver. 2.0 we are targeting the following plan:

Default behaviour is a) fail if missing.

In #15 we have described optional flags for specifying a default bump level to use if none is found in a commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant