This is an automated email from the ASF dual-hosted git repository. vy pushed a commit to branch release/10.0.0 in repository https://gitbox.apache.org/repos/asf/logging-parent.git
commit 8a85de48b73edba423cfd41f15b0c90e1b3ba823 Author: Volkan Yazıcı <[email protected]> AuthorDate: Mon Sep 4 16:54:50 2023 +0200 Fix SVN handling in CI --- .github/workflows/deploy-release-reusable.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-release-reusable.yml b/.github/workflows/deploy-release-reusable.yml index d54a785..18c3d01 100644 --- a/.github/workflows/deploy-release-reusable.yml +++ b/.github/workflows/deploy-release-reusable.yml @@ -130,7 +130,11 @@ jobs: # Switch to the project folder cd "$SVN_DIR" - mkdir -p "${{ inputs.project-name }}" && cd $_ + if [ \! -e "${{ inputs.project-name }}" ]; then + mkdir -p "${{ inputs.project-name }}" + svn add "${{ inputs.project-name }}" + fi + cd "${{ inputs.project-name }}" # Clean up old files find . -name "${DIST_FILENAME_PREFIX}*" -type f -print0 | xargs -0 -r svn delete @@ -145,7 +149,7 @@ jobs: cp "$DIST_FILEPATH"* . # Add & commit changes - svn add . + svn add "${DIST_FILENAME_PREFIX}"* svn commit \ --username "$SVN_USERNAME" \ --password "$SVN_PASSWORD" \
