Skip to content

Commit 9c26d95

Browse files
committed
Deploy scripts.
1 parent 15cb9a3 commit 9c26d95

File tree

3 files changed

+43
-6
lines changed

3 files changed

+43
-6
lines changed

.travis.yml

+4
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ install:
4949
script:
5050
- npm test
5151

52+
after_success:
53+
- if [ $TRAVIS_BRANCH == "master" ]; then echo "upload=$GITHUB_TOKEN" > ~/.prebuildrc; fi
54+
- if [ $TRAVIS_BRANCH == "master" ]; then npm run deploy; fi
55+
5256
notifications:
5357
webhooks:
5458
urls:

package-lock.json

+35-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
{
22
"name": "robotjs",
3-
"version": "0.4.7",
3+
"version": "0.4.8",
44
"description": "Node.js Desktop Automation.",
55
"main": "index.js",
66
"typings": "index.d.ts",
77
"scripts": {
88
"test": "run-script-os",
99
"test:darwin:linux": "jasmine 'test/**/*.js'",
1010
"test:win32": "jasmine test/**/*.js",
11-
"install": "prebuild-install || node-gyp rebuild"
11+
"install": "prebuild-install || node-gyp rebuild",
12+
"deploy": "prebuild --all -u"
1213
},
1314
"repository": {
1415
"type": "git",
@@ -44,7 +45,7 @@
4445
},
4546
"devDependencies": {
4647
"jasmine": "^2.99.0",
47-
"prebuild": "v6.1.0",
48+
"prebuild": "^7.4.0",
4849
"run-script-os": "^1.0.3",
4950
"targetpractice": "0.0.7"
5051
}

0 commit comments

Comments
 (0)