Skip to content
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

Error during backmerge even no conflicts on branches #36

Open
PrzemyslawRodzik opened this issue Jul 29, 2022 · 1 comment
Open

Error during backmerge even no conflicts on branches #36

PrzemyslawRodzik opened this issue Jul 29, 2022 · 1 comment

Comments

@PrzemyslawRodzik
Copy link

Hi,
I am currently working on automated version generation for my gitlab project.
My workflow is as follows:

master -> release branch -> the appropriate version is generated when a new commit is added
dev -> the place where the feature branches are marged into
prelease branch -> branch created from dev branch. This branch generates prerelease versions, such as 1.12-prelease.1, etc.

Semantic-release (the versioning part) is run for:

-> master branch when a new commit is added to this branch, usually when the prerelease branch is merged into master,
-> prerelease branch when a new commit is added to this branch.

Everything works fine.

Semantic-release (the part related to the backmerge) is called:

-> after new commit is added to the master branch,
-> after new commit is added to the prerelease branch.

Everything is successful only if the dev branch does not contain a new commit, ie one that does not exist in the prerelease or master branch. In my case, this situation will often take place, because the prerelease branch will be merged into master after 24 hours (until then, new changes may be added to the dev branch, which are not yet supposed to be sent to the master branch.

I would like to ask for a help as I do not understand the error that occurs . After the description of the error, I concludes that it is not a branch conflict bug. Moreover, when I tried to merge master branch into dev manually, everything ends up successfully without any conflicts. Below I share the semantic-release config and error from gitlab runner.
image
Screenshot 2022-07-29 213221

@mehdihadeli
Copy link

I have same issue with latest version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants