You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using versionbot, this is how the action interacts with that service
On PR: versionbot creates a branch with the version. The action uses that branch to create the release
On merge: bulldozer merges the original branch (without the version bump). The action finalizes the release
Versionbot runs one more time, and creates a new commit with the version bump.
If step 3 fails, the release version will get out of sync with the code version (e.g. release may be 2.0.1+rev1, while the repository is still at 2.0.0).
Moving the release finalization to step 3, when versionbot: true should address the issue.
The text was updated successfully, but these errors were encountered:
#181 would solve this. We could make the trigger a PR like we currently do but make the trigger for finalize a commit by versionbot... I'll have to think about this more but it's pushing it for scope of this action to make up for issues in versionbot I think. (I want to fix it, don't think i'm trying to get off the hook.
I think the easiest and best solution is to have an action that checks if versionbot ran. This new action looks at the main branch and since we know Versionbot commit is always after bulldoze we can just find the latest merge commit in the timeline and look for a versionbot commit after it.
Right, I agree #181 would address this. In that scenario, since the versionbot action is configured, the result of the action will be false in the bulldozer merge, but it will be true on the versionbot merge, thus, ensuring the finalize is done at that point.
When using versionbot, this is how the action interacts with that service
If step 3 fails, the release version will get out of sync with the code version (e.g. release may be 2.0.1+rev1, while the repository is still at 2.0.0).
Moving the release finalization to step 3, when
versionbot: true
should address the issue.The text was updated successfully, but these errors were encountered: