Commit Graph

253 Commits

Author SHA1 Message Date
Kevin Sawicki
31fc4fcde8 Disable colors in constructicon output 2013-12-17 09:22:14 -08:00
Kevin Sawicki
f48514114d Disable colors when BUILT_PRODUCTS_DIR env var is set 2013-12-17 09:15:04 -08:00
Kyle Robinson Young
ed4b50e3b4 Rename removeCommand and set tmpdir to /tmp on osx/linux. 2013-12-16 17:51:20 -08:00
Kyle Robinson Young
d526cfcba0 Change .node-type to .node-gyp in clean script 2013-12-16 17:51:20 -08:00
Kyle Robinson Young
0cf2cdceea Ability to delete without node_modules 2013-12-16 17:51:20 -08:00
Kyle Robinson Young
8239bb7e05 Add clean script 2013-12-16 17:51:20 -08:00
Kevin Sawicki
e5bd341f05 Set npm log level to warn instead of silent 2013-12-11 10:03:32 -08:00
Kevin Sawicki
e9d4563084 Disable apm colors in CI builds 2013-12-11 09:40:30 -08:00
Kevin Sawicki
b67ce8f4f8 Only retain last 10 releases 2013-12-11 09:17:47 -08:00
Kevin Sawicki
6a90bc1b17 Create prereleases 2013-12-11 09:06:59 -08:00
Kyle Robinson Young
59f453bb06 Prefer npm created node_modules/.bin/grunt 2013-12-10 19:36:48 -08:00
Kevin Sawicki
1737df6ff9 Use .zip extension 2013-12-10 18:03:28 -08:00
Kevin Sawicki
897bf2f8e0 💄 Add assetName variable 2013-12-10 17:49:53 -08:00
Kevin Sawicki
1851c81e60 Log when delete response is non-204 2013-12-10 17:47:43 -08:00
Kevin Sawicki
938c85e616 Use default headers in publish release API call 2013-12-10 17:46:34 -08:00
Kevin Sawicki
f1ed51a823 Only publish master builds 2013-12-10 17:37:32 -08:00
Kevin Sawicki
fbd8f7a1a7 Use commitSha variable 2013-12-10 17:37:32 -08:00
Kevin Sawicki
3e359e3c4e Upload releases to atom/atom-master-builds repo 2013-12-10 17:37:32 -08:00
Kevin Sawicki
2136fdaa60 Set cwd to vendor/apm instead of cd'ing 2013-12-10 14:11:10 -08:00
Kevin Sawicki
163994340d Log Atom release tag name 2013-12-10 13:51:09 -08:00
Kevin Sawicki
2141d06f61 Upload master builds only 2013-12-10 13:33:31 -08:00
Kevin Sawicki
e1a1a7efc9 Log what release is being uploaded to 2013-12-10 13:24:02 -08:00
Kevin Sawicki
f3f94a2af0 Drop prerelease from asset name 2013-12-10 12:59:32 -08:00
Kevin Sawicki
3d8e304b1c Allow script/upload-release to be called directly 2013-12-10 12:48:34 -08:00
Kevin Sawicki
2d0ba3e1f9 Uncomment branch check 2013-12-10 12:48:34 -08:00
Kevin Sawicki
be0ebab841 Delete existing before uploading new one 2013-12-10 12:48:34 -08:00
Kevin Sawicki
8c1d49c703 Exit with 1 when upload fails 2013-12-10 12:48:34 -08:00
Kevin Sawicki
4af71391a6 Use basename of assetPath in zip command 2013-12-10 12:48:34 -08:00
Kevin Sawicki
90802e3725 Check for error being null and default body to empty string 2013-12-10 12:48:34 -08:00
Kevin Sawicki
a9d1afdf65 Rename upload variable to assetRequest 2013-12-10 12:48:34 -08:00
Kevin Sawicki
2a51eb7614 Remove unneeded key name 2013-12-10 12:48:34 -08:00
Kevin Sawicki
96d38d7252 💄 Use return unless 2013-12-10 12:48:34 -08:00
Kevin Sawicki
4705e382bf Convert script/upload-release to CoffeeScript 2013-12-10 12:48:33 -08:00
Kevin Sawicki
11f8eba2c3 Add initial upload-release script 2013-12-10 12:48:33 -08:00
Cheng Zhao
33778cefdd Merge branch 'master' into atom-shell-v0.7.5 2013-12-09 16:52:05 +08:00
Kevin Sawicki
8cf2cdb2a9 Add script/install-cli to install atom and apm 2013-12-05 11:02:37 -08:00
Cheng Zhao
a7db8229d5 Also change the version field of package.json in set-development-version task. 2013-12-05 18:13:42 +08:00
Kevin Sawicki
31a909828d Don't override ATOM_ACCESS_TOKEN if already set 2013-12-04 14:40:37 -08:00
Kevin Sawicki
63dc8863e3 Use atom-bot's token as ATOM_ACCESS_TOKEN 2013-12-04 11:38:25 -08:00
Kevin Sawicki
caffcafe2e 🙉 Ignore stdout from installation of apm 2013-11-15 09:54:36 -08:00
Kevin Sawicki
b0da17701b Run apm clean during bootstrap
Closes #905
2013-11-02 19:29:52 -07:00
Kevin Sawicki
c9db0f14ed Disable colored output in script/cibuild 2013-11-01 16:42:50 -07:00
Kevin Sawicki
875e9c886c Increase max buffer to 1MB 2013-11-01 16:34:20 -07:00
Kevin Sawicki
05867bc889 Default error code to 1
Apparently not all errors passed to the callback have a code so default
it to zero when missing. The 'stdout maxBuffer exceeded.' is once such
error that has no code.
2013-11-01 16:27:46 -07:00
Kevin Sawicki
6d4285f180 Add script/build.cmd 2013-11-01 10:58:25 -07:00
Cheng Zhao
53954c236c Use the apm in node_modules/atom-package-manager instead of vendor/apm. 2013-10-30 23:44:05 +08:00
Cheng Zhao
3de18ae9f6 Fix calling of apm and grunt in script/cibuild and script/test. 2013-10-30 18:10:03 +08:00
Cheng Zhao
bfab56247f node_modules/.bin/grunt is a bash script not a js script. 2013-10-30 17:05:08 +08:00
Cheng Zhao
e4400c648d Revert "Run apm from node_modules"
This reverts commit 8742f6c06c.

The `node_modules/.bin/apm` is a bash script not a js script, so on
Windows `node node_modules/.bin/apm` would fail with:

```
C:\cygwin\home\zcbenz\codes\atom\node_modules\.bin\apm:2
basedir=`dirname "$0"`
        ^
SyntaxError: Unexpected token ILLEGAL
    at Module._compile (module.js:439:25)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)
    at startup (node.js:119:16)
    at node.js:901:3
```
2013-10-30 10:51:06 +08:00
Kevin Sawicki
2f62123a75 Merge branch 'master' into win-bootstrap-native-modules 2013-10-28 17:33:39 -07:00