Open jeffpaul opened 9 months ago
@jeffpaul @carstingaxion now that the project is picking up steam I am implementing a gitflow process for development and release. Releases will be alpha, beta, release candidate (rc), and final. Instead of main
, all PRs will be merged into the new develop
branch. main
is now readonly and represents the latest release be it alpha, beta, rc, or final. Release examples: 0.32.0-alpha.1, 0.32.0-beta.2, 0.32.0-rc.1, etc.
I know we can push development versions to WP repo. I think it would be pretty nice to do that, but I'm not sure the flow with the GH action that automatically pushes version from GH to WP repo and making sure it's seen as alpha/beta/rc vs final. @jeffpaul if you have guidance there that'd be greatly appreciated. Thx!
When I understood this ticket correct, this is not possible yet: https://github.com/10up/action-wordpress-plugin-deploy/issues/103
I know we can push development versions to WP repo. I think it would be pretty nice to do that, but I'm not sure the flow with the GH action that automatically pushes version from GH to WP repo and making sure it's seen as alpha/beta/rc vs final. @jeffpaul if you have guidance there that'd be greatly appreciated. Thx!
I see your appeal for that, but it's very much edge case. If someone were to work on a PR for it, then I'd be happy to have someone on the team get it through review but it's just not immediately going to be a priority for us.
I see that there are
[main](https://github.com/GatherPress/gatherpress/tree/main)
and[develop](https://github.com/GatherPress/gatherpress/tree/develop)
branches but onlymain
is protected. I had expected thatmain
might be the stable, released version of the plugin withdevelop
being the active working branch. If that's the intent, then we might want to update the default branch to bedevelop
and add in branch protections accordingly to ensure there are required reviews and passing actions before a PR can be merged todevelop
and then likely update the branch protections on themain
branch to ensure only certain people can merge there (e.g. during plugin releases where merging fromdevelop
tomain
).