Check whether remote commits exist before releasing
I'd like to add a check to pkgctl_release
where it will effectively 1. check if the current branch is main
, and 2. git fetch
to see if there are any remote commits, and refuse to release if either of those is wrong.
This should fix some minor issues where multiple maintainers working on the same thing build the same package twice, and then conflict. I'm happy to take a crack at it; I took a look at the pkgctl sources and it looks fairly doable.