Skip to content

Commit 62f4150

Browse files
committed
fix: Download artifact after generatic the release folder
1 parent 2c49bb2 commit 62f4150

File tree

4 files changed

+8
-17
lines changed

4 files changed

+8
-17
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -128,17 +128,16 @@ jobs:
128128
with:
129129
node-version: 12.x
130130

131-
- name: Download JS artifacts
131+
- name: Generate NPM package and release
132+
run: |
133+
node scripts/make-npm-release.js
134+
135+
- name: Download JavaScript artifact
132136
if: ${{ success() }}
133137
uses: actions/download-artifact@master
134138
with:
135139
name: index.js
136-
path: index.js
137-
138-
- name: Generate NPM package and release
139-
run: |
140-
node scripts/make-npm-release.js;
141-
mv index.js _release/index.js;
140+
path: _release/index.js
142141

143142
- name: Download linux artifacts
144143
if: ${{ success() }}

bin/Info.re

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
let version = "0.5.16";
1+
let version = "0.5.17";
22
let description = "query-json is a faster and simpler re-implementation of jq in Reason Native";
33

44
let repo = "https://github.com/davesnx/query-json";

esy.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@davesnx/query-json",
3-
"version": "0.5.16",
3+
"version": "0.5.17",
44
"description": "faster and simpler re-implementation of jq in Reason Native",
55
"author": "davesnx <[email protected]>",
66
"license": "MIT",

scripts/make-npm-release.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,6 @@ Fs.copyFileSync(
3737
Path.join(releaseFolder, 'postinstall.js')
3838
);
3939

40-
const filesToTouch = ['query-json'];
41-
42-
for (const file of filesToTouch) {
43-
const p = Path.join(releaseFolder, file);
44-
mkdirpSync(Path.dirname(p));
45-
Fs.writeFileSync(p, '');
46-
}
47-
4840
const pkgJson = {
4941
...esyJson,
5042
scripts: {

0 commit comments

Comments
 (0)