Skip to content

Commit ad9c2df

Browse files
Adding echo for git commands to be executed
1 parent 43af31e commit ad9c2df

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

script/updategitsubmodules.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ sed -i "s/https:\/\/github.com/https:\/\/$GITHUB_TOKEN@github.com/" .gitmodules
1414

1515
if [ "$CF_SUBMODULE_SYNC" = "true" ]; then
1616
echo "\$CF_SUBMODULE_SYNC var is set to 'true'. Syncing submodules"
17+
echo "git submodule sync"
1718
git submodule sync
1819
fi
1920

@@ -24,5 +25,6 @@ if [ "$CF_SUBMODULE_UPDATE_RECURSIVE" = "true" ]; then
2425
fi
2526

2627
echo "Updating git submodules"
28+
echo "git submodule update --init $SUBMODULE_UPDATE_RECURSIVE_FLAG"
2729
git submodule update --init $SUBMODULE_UPDATE_RECURSIVE_FLAG
2830
echo "Git submodules were updated"

0 commit comments

Comments
 (0)