Skip to content

Commit

Permalink
cleanup and bump for official release
Browse files Browse the repository at this point in the history
  • Loading branch information
photodow committed Apr 30, 2021
1 parent 29f7bd3 commit cfc4c56
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/repo-to-wiki.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: photodow/wiki-helpers@v1.8
- uses: photodow/wiki-helpers@1.1.0
with:
rootPath: "./samples"
flattenDir: true
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ You can find this script in the [GitHub Action Marketplace](https://github.com/m

```yml
- name: Wiki Helpers
uses: photodow/wiki-helpers@v1.8
uses: photodow/wiki-helpers@1.1.0
```
<details>
Expand All @@ -103,7 +103,7 @@ jobs:
- uses: actions/checkout@v2
with:
repository: ${{github.repository}}.wiki
- uses: photodow/wiki-helpers@v1.8
- uses: photodow/wiki-helpers@1.1.0
with:
rootPath: ./
buildPath: ./
Expand Down Expand Up @@ -131,7 +131,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: photodow/wiki-helpers@v1.8
- uses: photodow/wiki-helpers@1.1.0
with:
rootPath: "./samples"
flattenDir: true
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ function writeEachFileOnce (filesObj) {
fs.mkdirSync(path, { recursive: true });
}
}
console.log(typeof globalOptions.flattenDir, globalOptions.flattenDir);

if (globalOptions.flattenDir) {
writeTo = Path.join(globalOptions.buildPath, filesObj[key].name);
}
Expand Down
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ function writeEachFileOnce (filesObj) {
fs.mkdirSync(path, { recursive: true });
}
}
console.log(typeof globalOptions.flattenDir, globalOptions.flattenDir);

if (globalOptions.flattenDir) {
writeTo = Path.join(globalOptions.buildPath, filesObj[key].name);
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "backlinks-test",
"version": "v1.8",
"version": "1.1.0",
"description": "This action offers a number of helpers to help automate some of the laborious tasks across many files within a wiki. For example generating table of contents or backlinking references.",
"main": "./lib/index.js",
"scripts": {
Expand Down

0 comments on commit cfc4c56

Please sign in to comment.