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 2626 chmod +x splitsh-lite
2727 echo "$(pwd)" >> $GITHUB_PATH
2828 - 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 33set -x
44
55# 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
88# See the subtree workflow
99package=$( jq -r .name $1 )
1010directory=$( dirname $1 )
You can’t perform that action at this time.
0 commit comments