Skip to content

Commit

Permalink
try rsync maybe
Browse files Browse the repository at this point in the history
  • Loading branch information
jmckisson committed May 8, 2024
1 parent 51fbc11 commit 67acf38
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions CI/deploy-mudlet-for-windows.sh
Expand Up @@ -108,7 +108,7 @@ if [[ "$GITHUB_REPO_NAME" != "Mudlet/Mudlet" ]]; then
exit 2
fi

GITHUB_WORKSPACE_UNIX_PATH=$(echo ${GITHUB_WORKSPACE} | sed 's|\\|/|g' | sed 's|D:|/d|g')
GITHUB_WORKSPACE_UNIX_PATH=$(echo "${GITHUB_WORKSPACE}" | sed 's|\\|/|g' | sed 's|D:|/d|g')
PACKAGE_DIR="${GITHUB_WORKSPACE_UNIX_PATH}/package-${MSYSTEM}-release"

cd "$PACKAGE_DIR" || exit 1
Expand All @@ -124,7 +124,8 @@ moveToUploadDir() {
fi

echo "=== Copying files to upload directory ==="
cp "${PACKAGE_DIR}/*" "$uploadDir/"
#cp "${PACKAGE_DIR}/*" "$uploadDir/"
rsync -avR "${PACKAGE_DIR}"/./* "$uploadDir"
echo "=== Listing files in upload directory ==="
ls "$uploadDir"

Expand Down

0 comments on commit 67acf38

Please sign in to comment.