Skip to content

Commit

Permalink
fix: Move from bash not JS
Browse files Browse the repository at this point in the history
  • Loading branch information
davesnx committed Nov 30, 2020
1 parent 25f47b4 commit 2c49bb2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,8 @@ jobs:

- name: Generate NPM package and release
run: |
ls;
echo "---";
ls ..;
node scripts/make-npm-release.js;
mv index.js _release/index.js;
- name: Download linux artifacts
if: ${{ success() }}
Expand Down
2 changes: 1 addition & 1 deletion scripts/make-npm-release.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const releaseFolder = Path.resolve(rootFolder, '_release');
removeSync(releaseFolder);
mkdirpSync(releaseFolder);

for (const fileName of ['README.md', 'LICENSE', 'index.js']) {
for (const fileName of ['README.md', 'LICENSE']) {
const file = Path.join(rootFolder, fileName);
const destination = Path.join(releaseFolder, fileName);
Fs.copyFileSync(file, destination);
Expand Down

0 comments on commit 2c49bb2

Please sign in to comment.