Skip to content

Commit

Permalink
🔖 Release v1.16.3 [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
BetaHuhnBot committed Dec 22, 2021
1 parent 4302bf5 commit a10818e
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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))
Expand Down
4 changes: 2 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18108,15 +18108,15 @@ 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`)

const deleteOrphaned = isDirectory && file.deleteOrphaned

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) {
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.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": {
Expand Down

0 comments on commit a10818e

Please sign in to comment.