Skip to content

Commit 25d25cd

Browse files
committed
Comment updates.
1 parent 8e234fa commit 25d25cd

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

deploy

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ else
7373
fi
7474

7575

76+
#@TODO: Maybe check for an executable `scripts/pre-deploy` project-specific script and run it? Abort this script if the pre-deploy exists non-zero?
77+
78+
7679
# Check for local changes that would cause a merge (without -f) to fail later.
7780
$BIN_DIR/git-localchanges
7881
if [ $? -gt 0 ]; then
@@ -111,7 +114,8 @@ elif [ "$DB_UPDATES_METHOD" = 'none' ]; then
111114
fi
112115

113116

114-
# This if case should really be looking to see if we're being asked to fast forward on the same branch, or switch to the HEAD of a different branch.
117+
# This if() should really be looking to see if we're being asked to fast
118+
# forward on the same branch, or switch to the HEAD of a different branch.
115119
# if [ "$ARG_NEWCOMMIT" = "origin/master" ]; then
116120
echo "## Merging upstream changes from: $ARG_NEWCOMMIT";
117121
git merge $ARG_NEWCOMMIT
@@ -132,6 +136,8 @@ if [ "$DB_UPDATES_METHOD" = 'migrations' ]; then
132136
fi
133137

134138
# Make sure any external packages are installed and available.
139+
# The current environment can export a COMPOSER_NODEV flag to disable
140+
# the installation of require-dev dependencies.
135141
composer install --no-interaction
136142

137143

@@ -160,5 +166,8 @@ if [ -n "${LOADSYS_EMAIL}" ]; then
160166
fi
161167

162168

169+
#@TODO: Maybe check for an executable `scripts/post-deploy` project-specific script and run it?
170+
171+
163172
echo "## Update process complete.";
164173

0 commit comments

Comments
 (0)