Skip to content

Commit

Permalink
🔖 Release v1.13.5 [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
BetaHuhnBot committed Sep 23, 2021
1 parent 0abefcc commit 2816ce7
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 4 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
## [v1.13.5] - 2021-09-23

[Release notes](https://github.com/betahuhn/repo-file-sync-action/releases/tag/v1.13.5) · [Compare](https://github.com/betahuhn/repo-file-sync-action/compare/v1.13.4...v1.13.5) · [Tag](https://github.com/betahuhn/repo-file-sync-action/tree/v1.13.5) · Archive ([zip](https://github.com/betahuhn/repo-file-sync-action/archive/v1.13.5.zip) · [tar.gz](https://github.com/betahuhn/repo-file-sync-action/archive/v1.13.5.tar.gz))

### Bug fixes

- [`0abefcc`](https://github.com/betahuhn/repo-file-sync-action/commit/0abefcc) Check if exclude exists before using it (#114)
(Issues: [`#114`](https://github.com/betahuhn/repo-file-sync-action/issues/114))

### Dependency updates

- [`25c6114`](https://github.com/betahuhn/repo-file-sync-action/commit/25c6114) Bump action-input-parser from 1.2.17 to 1.2.18

## [v1.13.4] - 2021-09-17

[Release notes](https://github.com/betahuhn/repo-file-sync-action/releases/tag/v1.13.4) · [Compare](https://github.com/betahuhn/repo-file-sync-action/compare/v1.13.3...v1.13.4) · [Tag](https://github.com/betahuhn/repo-file-sync-action/tree/v1.13.4) · Archive ([zip](https://github.com/betahuhn/repo-file-sync-action/archive/v1.13.4.zip) · [tar.gz](https://github.com/betahuhn/repo-file-sync-action/archive/v1.13.4.tar.gz))
Expand Down
4 changes: 2 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17355,7 +17355,7 @@ const copy = async (src, dest, deleteOrphaned, exclude) => {

const filterFunc = (file) => {

if (exclude.includes(file)) {
if (exclude !== undefined && exclude.includes(file)) {
core.debug(`Excluding file ${ file }`)
return false
}
Expand All @@ -17374,7 +17374,7 @@ const copy = async (src, dest, deleteOrphaned, exclude) => {
for (const file of destFileList) {
if (srcFileList.indexOf(file) === -1) {
core.debug(`Found a orphaned file in the target repo - ${ dest }${ file }`)
if (exclude.includes(path.join(src, file))) {
if (exclude !== undefined && exclude.includes(path.join(src, file))) {
core.debug(`Excluding file ${ file }`)
} else {
await fs.remove(`${ dest }${ file }`)
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "repo-file-sync-action",
"version": "1.13.4",
"version": "1.13.5",
"description": "GitHub Action to keep files like Action workflows or entire directories in sync between multiple repositories.",
"main": "dist/index.js",
"scripts": {
Expand Down

0 comments on commit 2816ce7

Please sign in to comment.