We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46f6b57 commit 993ffecCopy full SHA for 993ffec
pkg/lib/commands/do-upgrade.sh
@@ -27,6 +27,12 @@ do-upgrade() {
27
28
if [ -d "$PROGRAM_LIB_DIR/../../.git" ]; then
29
git -C "$PROGRAM_LIB_DIR/../.." pull
30
+
31
+ # '--init' wasn't included in the original installation instructions
32
+ # and submodules might be added in the future
33
+ git -C "$PROGRAM_LIB_DIR/../.." submodule init
34
+ git -C "$PROGRAM_LIB_DIR/../.." submodule sync --recursive
35
+ git -C "$PROGRAM_LIB_DIR/../.." submodule update --recursive --merge
36
else
37
log.error "bpm is not a Git repository"
38
fi
0 commit comments