File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
22set -eo pipefail
33
4- if [[ -z " $SVN_USERNAME " ]]; then
5- echo " Set the SVN_USERNAME secret"
6- exit 1
7- fi
8-
9- if [[ -z " $SVN_PASSWORD " ]]; then
10- echo " Set the SVN_PASSWORD secret"
11- exit 1
12- fi
13-
144if [[ -z " $THEME_VERSION " ]]; then
155 echo " Set the THEME_VERSION env var"
166 exit 1
@@ -63,6 +53,16 @@ svn status
6353
6454cd $SVN_PATH
6555
56+ if [[ -z " $SVN_USERNAME " ]]; then
57+ echo " Set the SVN_USERNAME secret"
58+ exit 1
59+ fi
60+
61+ if [[ -z " $SVN_PASSWORD " ]]; then
62+ echo " Set the SVN_PASSWORD secret"
63+ exit 1
64+ fi
65+
6666echo " Commit files to version folder $VERSION_DIR "
6767svn ci -m " Upload v${THEME_VERSION} " --no-auth-cache --non-interactive --username " $SVN_USERNAME " --password " $SVN_PASSWORD "
6868svn update
You can’t perform that action at this time.
0 commit comments