test
This commit is contained in:
parent
6d2043e19f
commit
06bafdc442
@ -1,5 +1,6 @@
|
||||
#!/bin/zsh
|
||||
|
||||
echo hiya
|
||||
git submodule update --remote --rebase --init
|
||||
|
||||
SUBMODULES=$(\
|
||||
@ -8,6 +9,8 @@ SUBMODULES=$(\
|
||||
| sed 's/^.*modified:\s*//; s/\s*(new commits).*$//' \
|
||||
)
|
||||
|
||||
echo $SUBMODULES
|
||||
|
||||
[[ ${#SUBMODULES[@]} -gt 0 ]] && {
|
||||
git add $SUBMODULES
|
||||
git commit -m "Updated submodules to master : $SUBMODULES"
|
||||
|
Loading…
Reference in New Issue
Block a user