From a10818e241b92c64b59cfc7dc2d4ace06632cd5d Mon Sep 17 00:00:00 2001 From: BetaHuhn Bot Date: Wed, 22 Dec 2021 17:50:58 +0000 Subject: [PATCH] :bookmark: Release v1.16.3 [skip ci] --- CHANGELOG.md | 8 ++++++++ dist/index.js | 4 ++-- package-lock.json | 2 +- package.json | 2 +- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 696cd6da..cd7e40eb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +## [v1.16.3] - 2021-12-22 + +[Release notes](https://github.com/betahuhn/repo-file-sync-action/releases/tag/v1.16.3) · [Compare](https://github.com/betahuhn/repo-file-sync-action/compare/v1.16.2...v1.16.3) · [Tag](https://github.com/betahuhn/repo-file-sync-action/tree/v1.16.3) · Archive ([zip](https://github.com/betahuhn/repo-file-sync-action/archive/v1.16.3.zip) · [tar.gz](https://github.com/betahuhn/repo-file-sync-action/archive/v1.16.3.tar.gz)) + +### Bug fixes + +- [`4302bf5`](https://github.com/betahuhn/repo-file-sync-action/commit/4302bf5) Fix bug introduced by last release + ## [v1.16.2] - 2021-12-22 [Release notes](https://github.com/betahuhn/repo-file-sync-action/releases/tag/v1.16.2) · [Compare](https://github.com/betahuhn/repo-file-sync-action/compare/v1.16.1...v1.16.2) · [Tag](https://github.com/betahuhn/repo-file-sync-action/tree/v1.16.2) · Archive ([zip](https://github.com/betahuhn/repo-file-sync-action/archive/v1.16.2.zip) · [tar.gz](https://github.com/betahuhn/repo-file-sync-action/archive/v1.16.2.tar.gz)) diff --git a/dist/index.js b/dist/index.js index fd1a0f98..78a12837 100644 --- a/dist/index.js +++ b/dist/index.js @@ -18108,7 +18108,7 @@ const run = async () => { const isDirectory = await pathIsDirectory(file.source) const source = isDirectory ? `${ addTrailingSlash(file.source) }` : file.source - const dest = isDirectory ? `${ addTrailingSlash(file.dest) }` : file.dest + const dest = isDirectory ? `${ addTrailingSlash(localDestination) }` : localDestination if (isDirectory) core.info(`Source is directory`) @@ -18116,7 +18116,7 @@ const run = async () => { await copy(source, dest, deleteOrphaned, file.exclude) - await git.add(dest) + await git.add(file.dest) // Commit each file separately, if option is set to false commit all files at once later if (COMMIT_EACH_FILE === true) { diff --git a/package-lock.json b/package-lock.json index 17ae6a87..bef384e1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "repo-file-sync-action", - "version": "1.16.2", + "version": "1.16.3", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index a9519208..1d415363 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "repo-file-sync-action", - "version": "1.16.2", + "version": "1.16.3", "description": "GitHub Action to keep files like Action workflows or entire directories in sync between multiple repositories.", "main": "dist/index.js", "scripts": {