Changeset 2460267
- Timestamp:
- 01/21/2021 10:28:45 AM (5 years ago)
- Location:
- e20r-members-list
- Files:
-
- 2 edited
- 1 copied
-
tags/test_workflow_71a (copied) (copied from e20r-members-list/trunk)
-
tags/test_workflow_71a/build_env/entrypoint.sh (modified) (2 diffs)
-
trunk/build_env/entrypoint.sh (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
e20r-members-list/tags/test_workflow_71a/build_env/entrypoint.sh
r2460232 r2460267 31 31 fi 32 32 echo "ℹ︎ SLUG is ${SLUG}" 33 34 if [[ -z "${BRANCH}" ]]; then 35 BRANCH="${GITHUB_REF#refs/heads/}" 36 fi 37 38 echo "ℹ︎ Branch is ${BRANCH}" 33 39 34 40 # Does it even make sense for VERSION to be editable in a workflow definition? … … 156 162 svn status 157 163 158 echo "➤ Committing files to Wordpress.org SVN repository..." 159 svn commit -m "Update to version ${VERSION} from GitHub" --no-auth-cache --non-interactive --username "${SVN_USERNAME}" --password "${SVN_PASSWORD}" 160 161 echo "✓ Plugin deployed!" 164 if [[ -n "${BRANCH}" && "master" == "${BRANCH}" ]]; then 165 echo "➤ In master branch so committing files to Wordpress.org SVN repository..." 166 echo "svn commit -m \"Update to version ${VERSION} from GitHub\" --no-auth-cache --non-interactive --username \"${SVN_USERNAME}\" --password \"${SVN_PASSWORD}\"" 167 fi 168 echo "✓ Plugin deployed! - Test complete" -
e20r-members-list/trunk/build_env/entrypoint.sh
r2460232 r2460267 31 31 fi 32 32 echo "ℹ︎ SLUG is ${SLUG}" 33 34 if [[ -z "${BRANCH}" ]]; then 35 BRANCH="${GITHUB_REF#refs/heads/}" 36 fi 37 38 echo "ℹ︎ Branch is ${BRANCH}" 33 39 34 40 # Does it even make sense for VERSION to be editable in a workflow definition? … … 156 162 svn status 157 163 158 echo "➤ Committing files to Wordpress.org SVN repository..." 159 svn commit -m "Update to version ${VERSION} from GitHub" --no-auth-cache --non-interactive --username "${SVN_USERNAME}" --password "${SVN_PASSWORD}" 160 161 echo "✓ Plugin deployed!" 164 if [[ -n "${BRANCH}" && "master" == "${BRANCH}" ]]; then 165 echo "➤ In master branch so committing files to Wordpress.org SVN repository..." 166 echo "svn commit -m \"Update to version ${VERSION} from GitHub\" --no-auth-cache --non-interactive --username \"${SVN_USERNAME}\" --password \"${SVN_PASSWORD}\"" 167 fi 168 echo "✓ Plugin deployed! - Test complete"
Note: See TracChangeset
for help on using the changeset viewer.