Commit 8efff8a
committed
fix(ci): create empty .gitmodules before submodule add in sync-releases
The previous fix (87163ba) removed the explicit `printf > .gitmodules`
line, assuming `git submodule add` would create the file on its own.
It doesn't when the parent step already wiped the working tree —
submodule add refuses with:
fatal: please make sure that the .gitmodules file is in the working tree
Create an empty .gitmodules (and stage it) before the add call.1 parent adf55c7 commit 8efff8a
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| 120 | + | |
| 121 | + | |
120 | 122 | | |
121 | 123 | | |
122 | 124 | | |
| |||
0 commit comments