You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by vy...@apache.org on 2023/09/04 07:11:55 UTC
[logging-parent] 02/02: Fix SVN upload failure caused on non-existing target folder
This is an automated email from the ASF dual-hosted git repository.
vy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/logging-parent.git
commit c48e36efec48a255e9d2864e5508946cd04c7235
Author: Volkan Yazıcı <vo...@yazi.ci>
AuthorDate: Mon Sep 4 09:12:09 2023 +0200
Fix SVN upload failure caused on non-existing target folder
---
.github/workflows/deploy-release-reusable.yml | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/deploy-release-reusable.yml b/.github/workflows/deploy-release-reusable.yml
index 5cce55e..bcfbfde 100644
--- a/.github/workflows/deploy-release-reusable.yml
+++ b/.github/workflows/deploy-release-reusable.yml
@@ -113,9 +113,12 @@ jobs:
export SVN_DIR="/tmp/svn-repo"
svn co \
--depth files \
- "https://dist.apache.org/repos/dist/dev/logging/${{ inputs.project-name }}" \
+ "https://dist.apache.org/repos/dist/dev/logging" \
"$SVN_DIR"
+
+ # Switch to the project folder
cd "$SVN_DIR"
+ mkdir -p "${{ inputs.project-name }}" && cd $_
# Clean up old files
find . -name "${DIST_FILENAME_PREFIX}*" -type f -print0 | xargs -0 -r svn delete