Open dpfaffenbauer opened 1 year ago
Hi @dpfaffenbauer
I have a similar issue. DId you manage to solve yours ?
I have branches :
2.9.x 2.10.x 2.11.x
but only the 2.11.x branch is splited, not the others, for unknown reasons. Tags are splitted correctly however.
Here is my gitsplit config (can't show the repos as they are privates) :
origins:
- ^master$
- ^2\.\d+\.x$
- ^2\.\d+\.\d+$
- ^2\.\d+\.\d+\.\d+$
- ^2\.\d+\.\d+-alpha\d+$
- ^2\.\d+\.\d+-rc\d+$
@romainruaud we did a full checkout of the repo and then it worked: https://github.com/coreshop/CoreShop/blob/master/.github/workflows/gitsplit.yml
This does not change anything for me, since we introduced a 2.11.x branch, only this one is synced, that's very strange :/
Got it, in fact it only splits the branch that are tracked locally.
So adding this before launching makes it sync all the branches :
for i in `git branch -a | grep remote | grep -v HEAD | grep -v master`; do git branch --track ${i#remotes/origin/} $i; done
We setup gitsplit as Github Action like this:
The .gitsplit config looks like this:
But it doesn't split the Branches. Branches are named:
It splits the tags though.... Something we did wrong?
(https://github.com/coreshop/CoreShop/actions/runs/3995937744/jobs/6855392905)