Skip to content

Commit a10818e

Browse files
committed
🔖 Release v1.16.3 [skip ci]
1 parent 4302bf5 commit a10818e

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
## [v1.16.3] - 2021-12-22
2+
3+
[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))
4+
5+
### Bug fixes
6+
7+
- [`4302bf5`](https://github.com/betahuhn/repo-file-sync-action/commit/4302bf5) Fix bug introduced by last release
8+
19
## [v1.16.2] - 2021-12-22
210

311
[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))

dist/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -18108,15 +18108,15 @@ const run = async () => {
1810818108

1810918109
const isDirectory = await pathIsDirectory(file.source)
1811018110
const source = isDirectory ? `${ addTrailingSlash(file.source) }` : file.source
18111-
const dest = isDirectory ? `${ addTrailingSlash(file.dest) }` : file.dest
18111+
const dest = isDirectory ? `${ addTrailingSlash(localDestination) }` : localDestination
1811218112

1811318113
if (isDirectory) core.info(`Source is directory`)
1811418114

1811518115
const deleteOrphaned = isDirectory && file.deleteOrphaned
1811618116

1811718117
await copy(source, dest, deleteOrphaned, file.exclude)
1811818118

18119-
await git.add(dest)
18119+
await git.add(file.dest)
1812018120

1812118121
// Commit each file separately, if option is set to false commit all files at once later
1812218122
if (COMMIT_EACH_FILE === true) {

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "repo-file-sync-action",
3-
"version": "1.16.2",
3+
"version": "1.16.3",
44
"description": "GitHub Action to keep files like Action workflows or entire directories in sync between multiple repositories.",
55
"main": "dist/index.js",
66
"scripts": {

0 commit comments

Comments
 (0)