File tree 3 files changed +29
-21
lines changed
3 files changed +29
-21
lines changed Original file line number Diff line number Diff line change @@ -18,19 +18,6 @@ before_install:
18
18
- npm i -g npm@^2.0.0
19
19
before_script :
20
20
- npm prune
21
- after_script :
22
- - echo leader=$BUILD_LEADER status=$BUILD_AGGREGATE_STATUS
23
- after_success :
24
- - ' curl -Lo travis_after_all.py https://git.io/travis_after_all'
25
- - python travis_after_all.py
26
- - ' export $(cat .to_export_back) &> /dev/null'
27
- - |
28
- if [ "$BUILD_LEADER" = "YES" -a "$BUILD_AGGREGATE_STATUS" = "others_succeeded" ]; then
29
- echo "Checking coverage and release status."
30
- npm run semantic-release
31
- else
32
- echo "Either I'm a minion or the build failed. No semantic-releasing for me."
33
- fi
34
21
branches :
35
22
except :
36
23
- " /^v\\ d+\\ .\\ d+\\ .\\ d+$/"
Original file line number Diff line number Diff line change @@ -54,3 +54,17 @@ Symbols are not supported as properties.
54
54
You cannot use undefined checks with this structure as the very act of
55
55
checking ensures that the structure is defined. Use membership or
56
56
length checks to determine if something is empty.
57
+
58
+ ## Publishing a binary release
59
+
60
+ To make a new binary release:
61
+
62
+ - Edit package.json. Increment the ` version ` property.
63
+ - ` node-pre-gyp rebuild `
64
+ - ` node-pre-gyp package `
65
+ - ` node-pre-gyp-github publish `
66
+ - ` npm publish `
67
+
68
+ You will need a ` NODE_PRE_GYP_GITHUB_TOKEN ` with ` repo:status ` ,
69
+ ` repo_deployment ` and ` public_repo ` access to the target repo. You'll
70
+ also need write access to the npm repo.
Original file line number Diff line number Diff line change 4
4
"main" : " build/Release/autovivify" ,
5
5
"scripts" : {
6
6
"test" : " mocha" ,
7
- "install" : " node-gyp rebuild" ,
8
- "semantic-release" : " semantic-release pre && npm publish && semantic-release post"
7
+ "install" : " node-gyp rebuild"
8
+ },
9
+ "binary" : {
10
+ "module_name" : " autovivify" ,
11
+ "module_path" : " build/Release" ,
12
+ "host" : " https://github.com/allenluce/node-autovivify/releases/download/{version}"
9
13
},
10
14
"author" : " Allen Luce" ,
11
15
"repository" : {
14
18
},
15
19
"license" : " ISC" ,
16
20
"gypfile" : true ,
17
- "dependencies" : {
18
- "nan" : " ^2.2.0"
19
- },
20
21
"devDependencies" : {
21
22
"bindings" : " ^1.2.1" ,
22
23
"chai" : " ^3.5.0" ,
23
24
"cz-conventional-changelog" : " ^1.1.5" ,
24
25
"mocha" : " ^3.1.2" ,
25
- "node-gyp " : " ^3 .2.1 " ,
26
- "semantic-release " : " ^4.3.5 "
26
+ "nan " : " ^2 .2.0 " ,
27
+ "node-gyp " : " ^3.2.1 "
27
28
},
28
29
"config" : {
29
30
"commitizen" : {
30
31
"path" : " ./node_modules/cz-conventional-changelog"
31
32
}
32
33
},
34
+ "version" : " 1.0.8" ,
33
35
"engines" : {
34
- "node" : " >= 0.11.15 " ,
36
+ "node" : " >= 0.10 " ,
35
37
"iojs" : " >= 1.0.0"
38
+ },
39
+ "dependencies" : {
40
+ "aws-sdk" : " ^2.6.9" ,
41
+ "node-pre-gyp" : " ^0.6.30" ,
42
+ "node-pre-gyp-github" : " ^1.3.1"
36
43
}
37
44
}
You can’t perform that action at this time.
0 commit comments