diff --git a/CHANGELOG.md b/CHANGELOG.md index 34f696f..80f2a13 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org). ## [Unreleased] +## [3.0.1] - 2020-03-28 +### Fixed +- Fix copying of files with names containing spaces. + ## [3.0.0] - 2020-03-10 ### Added - Input variable `clean` for optional removal of contents in the `dst_path` before copying. @@ -22,7 +26,8 @@ and this project adheres to [Semantic Versioning](https://semver.org). ## 1.0.0 - 2019-07-09 -[Unreleased]: https://github.com/andstor/copycat-action/compare/v3.0.0...HEAD +[Unreleased]: https://github.com/andstor/copycat-action/compare/v3.0.1...HEAD +[3.0.1]: https://github.com/andstor/copycat-action/compare/v3.0.0...v3.0.1 [3.0.0]: https://github.com/andstor/copycat-action/compare/v2.0.0...v3.0.0 [2.0.0]: https://github.com/andstor/copycat-action/compare/v1.1.0...v2.0.0 [1.1.0]: https://github.com/andstor/copycat-action/compare/v1.1.0...v1.0.1 diff --git a/entrypoint.sh b/entrypoint.sh index 17b82ec..1bf4f55 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -104,7 +104,7 @@ if [[ -n "$FILTER" ]]; then [[ $f == $EXCLUDE ]] && continue fi file_dir=$(dirname "${f}") - mkdir -p ${tmp_dir}/${SRC_REPO_NAME}/${file_dir} && cp ${f} ${tmp_dir}/${SRC_REPO_NAME}/${file_dir} + mkdir -p ${tmp_dir}/${SRC_REPO_NAME}/${file_dir} && cp "${f}" ${tmp_dir}/${SRC_REPO_NAME}/${file_dir} done cd .. fi