-
Notifications
You must be signed in to change notification settings - Fork 203
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
Continuous (single-digit) versioning #1957
Comments
Another observation: if I remove the I also tried it with |
Hmm interesting. Auto is heavily built around the idea of semver. Changing this assumption would probably leads to lots of little bugs like this. How about setting "default: true" on the major label? Then auto would only ever do major bumps and your version would always be something like 1.0.0. Does that work for you? |
I don't think that would change what a changelog looks like. Unlabeled prs would default to major though |
Yes, this is what we are using at the moment, but it's definitely not the same. Would you be open to generalizing the way versions are treated in the code? For example, if version is a template, like |
Yeah this would be a great addition. We're starting to use auto to release applications, and in those scenarios semver rarely makes sense (when is a change "breaking" or "minor" in an application?). We want to use something like It could also just be a plugin release hook that allowed you to override the calculated version that auto uses throughout the pipeline. At first I thought that was what the |
Describe the bug
v0
+major
bump =null
π₯To Reproduce
v0
major
to always increment the first digitauto latest --dry-run
:Expected behavior
v0
+major
bump =v1
(or generally
vN
+major
bump =v(N+1)
)Environment information:
Redacted (private repo):
Standalone Auto installation (non-npm project). Plugins:
Additional context
I'm not sure if this behavior is meant to supported, but I'm filing it as a bug because
null
is never a valid answer πThe text was updated successfully, but these errors were encountered: