File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 26
26
chmod +x splitsh-lite
27
27
echo "$(pwd)" >> $GITHUB_PATH
28
28
- name : ' Split to manyrepo'
29
- run : find src -maxdepth 2 -name composer.json -exec bash subtree.sh {} ${{ github.ref }} \;
29
+ run : find src -maxdepth 2 -name composer.json -print0 | xargs -I '{}' -n 1 -0 bash subtree.sh {} ${{ github.ref }}
Original file line number Diff line number Diff line change 3
3
set -x
4
4
5
5
# Subtree split on tag this script gets called using find:
6
- # find src -maxdepth 2 -name composer.json -exec bash subtree.sh {} refs/tags/3.1.5 \;
7
- # find src -maxdepth 2 -name composer.json -exec bash subtree.sh {} refs/heads/3.1 \;
6
+ # find src -maxdepth 2 -name composer.json -print0 | xargs -I '{}' -n 1 -0 bash subtree.sh {} refs/tags/3.1.5
7
+ # find src -maxdepth 2 -name composer.json -print0 | xargs -I '{}' -n 1 -0 bash subtree.sh {} refs/heads/3.1
8
8
# See the subtree workflow
9
9
package=$( jq -r .name $1 )
10
10
directory=$( dirname $1 )
You can’t perform that action at this time.
0 commit comments