Skip to content

Commit 23a14b5

Browse files
Add DEBUG mode support
1 parent 15d7f90 commit 23a14b5

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

deploy.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,12 @@ svn update
152152

153153
svn status
154154

155-
echo "➤ Committing files..."
156-
svn commit -m "Update to version $VERSION from GitHub" --no-auth-cache --non-interactive --username "$SVN_USERNAME" --password "$SVN_PASSWORD"
155+
if [[ "$DEBUG" != false ]]; then
156+
echo "➤ Committing files..."
157+
svn commit -m "Update to version $VERSION from GitHub" --no-auth-cache --non-interactive --username "$SVN_USERNAME" --password "$SVN_PASSWORD"
158+
else
159+
echo "➤ Debug mode: Files not committed."
160+
fi
157161

158162
if $INPUT_GENERATE_ZIP; then
159163
echo "Generating zip file..."

0 commit comments

Comments
 (0)