-
Hi, thanks for this plugin, works well for me so far. However, I cannot figure out a decent flow that doesn't come with awkward side effects. My issues are mainly due to the fact that this plugin creates commits for releases. This is the (simplified) workflow my team used with semantic release:
This was working great before, but now the release commits are creating issues for me.
Can someone suggest a better flow for me? I can think of some solutions such as running the version job before merging. But I can't wrap my head around a fully working flow. Will be forever grateful for any help! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Reading on GitLab flow a good idea would probably to have a |
Beta Was this translation helpful? Give feedback.
-
I'm sorry but I have no good recommendation regarding any Git workflow because it depends on the project and the team. There's no ultimate Git branching strategy. My own (limited) experience here is that I avoid too complex workflows like the Git Flow and I like more simple workflows as the GitHub Flow. GitLab Flow is between these two but I never used it. However, I think your problem does not come from the Git branching model, but from the way you are skipping CI pipelines. Are you using GitLab or GitHub? With GitHub you don't need to put the
Note that I always recommend versioning directly on the base branch. Let me know if it helps. |
Beta Was this translation helpful? Give feedback.
I'm sorry but I have no good recommendation regarding any Git workflow because it depends on the project and the team. There's no ultimate Git branching strategy. My own (limited) experience here is that I avoid too complex workflows like the Git Flow and I like more simple workflows as the GitHub Flow. GitLab Flow is between these two but I never used it.
However, I think your problem does not come from the Git branching model, but from the way you are skipping CI pipelines. Are you using GitLab or GitHub? With GitHub you don't need to put the
[skip ci]
in the commit message, pushing a commit within a CI job (using the semver--push
option) should not trigger another job in cascade.