-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
Semantic versioning #77
Comments
Hi, @illrill I'm basically keeping a simplified schema without the patch version for no particular reason. I generally bump the minor as I intentionally avoid breaking changes (e.g. I did introduce a different configuration format a while back, but ensured that the action would still support old files). If I do one, I would indeed bump the major. In any case, I'm fine with using a full semver string if that makes things clearer downstream. I will republish the latest version as 1.4.0 and follow from there. Thanks! |
Thanks for the feedback! Actually the main concern I had was around what would happen after 1.9 - I just assumed it would automatically hit 2.0 even if there's no major/breaking change. But perhaps I assumed too much, now that you explained it... It would become 1.11, wouldn't it? If that's the case, it's fine as-is for me. The background to why I care is that the administrators of our Github Enterprise organization has a rule that they need to approve and "whitelist" each major version of all open-source actions. So when we reach version 2.0, I'll need to go through the hoops of requesting the admins to re-whitelist |
BTW, the organization I consult for is H&M Group, so this piece of software is used by a quite large company 🥇 💪 |
Yeah, I think you summarize the point quite well. I originally didn't want to overcomplicate the versioning part but at the point this is used by orgs with minimum supply chain controls standards will actually save time. I expect we'll stay on 1.x for a fair amount of time. Thanks a lot for the feedback and happy to see this is useful to you at H&M! |
Closing but let me know if I there are any loose threads there! |
I've noticed releases are consistently bumped a minor version, even when the release doesn't contain any new functionality. For example 1.3 -> 1.4 seems to only contain chores/dependency updates . Would it be a good idea to start adhering to semantic versioning?
Major (1.x.x -> 2.x.x) version when we make incompatible API changes
Minor (x.1.x -> x.2.x) version when we add functionality in a backwards compatible manner
Patch (x.x.1 -> x.x.2) version when we make backwards compatible bug fixes and chores
The text was updated successfully, but these errors were encountered: