relax version check #696
Loading…
Reference in New Issue
No description provided.
Delete Branch "relax-version-check"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes: #695
thanks for doing this, it looks good overall! we just need to make the CI green and we're good to merge 🚀
we probably only need to have a matrix with at most two versions: the current branch's version (in this case 1.1.0) and the largest known version number (in this case 1.1.0). patch versions only carry bugfixes with no API changes, so we can ignore those.
when this is cherry-picked to other branches (say, v30), it will need to be changed to
the test results show that this combination is broken, so we need to have this be:
and since we need to update the CI anyways every time there's a new release to explicitly change the ref, might as well have this be:
which is... exactly the same as what we have right now. BUT the difference is that in the other branches (say, v30) it'll be:
I don't think that an upper bound on the supported minor version is really strictly needed right now, but committed it anyhow as you suggested.
Yep, only had that in for testing if the build would fail.
Changed the version matrix.
How does backporting this to other branches work? Even if the commit is cherry-picked the supported libgit2 version in the CI matrix needs to be adjusted for the other release branches.
normally that's done through a GitHub action (https://github.com/libgit2/git2go/runs/1468017967?check_suite_focus=true), but it seems like the merge conflicts prevented that from happening :/ so it'll need to be done by hand. i can do that tomorrow, or you can give it a try by running
git cherry-pick -x 1fabe95fb7275df980ff6ab03fb85eac91c5849d
from therelease-1.0
branch and submit a PR for that.