Skip to content

Instantly share code, notes, and snippets.

@leobalter
Created September 1, 2015 13:58
Show Gist options
  • Save leobalter/2036c590d050ed839c93 to your computer and use it in GitHub Desktop.
Save leobalter/2036c590d050ed839c93 to your computer and use it in GitHub Desktop.
$ node release.js --remote=jquery/qunit
Release type: stable
Remote: git@github.com:jquery/qunit.git
Branch: master
This is a real release. GitHub and npm will be updated.
Press enter to continue, or ctrl+c to cancel.
Determining directories...
Creating directory...
##
## SETTING UP REPO
##
Changing working directory to /Users/leobalter/dev/jquery-release/__release.
Cloning git@github.com:jquery/qunit.git...
Cloning into '/Users/leobalter/dev/jquery-release/__release/repo'...
Changing working directory to /Users/leobalter/dev/jquery-release/__release/repo.
Checking out master branch...
Already on 'master'
Your branch is up-to-date with 'origin/master'.
Installing dependencies...
npm WARN engine log-driver@1.2.1: wanted: {"node":">=0.8.6","npm":"1.1.65"} (current: {"node":"0.12.7","npm":"2.12.1"})
npm WARN engine hawk@0.10.2: wanted: {"node":"0.8.x"} (current: {"node":"0.12.7","npm":"2.12.1"})
npm WARN engine boom@0.3.8: wanted: {"node":"0.8.x"} (current: {"node":"0.12.7","npm":"2.12.1"})
npm WARN engine sntp@0.1.4: wanted: {"node":"0.8.x"} (current: {"node":"0.12.7","npm":"2.12.1"})
npm WARN engine cryptiles@0.1.3: wanted: {"node":"0.8.x"} (current: {"node":"0.12.7","npm":"2.12.1"})
npm WARN engine hoek@0.7.6: wanted: {"node":"0.8.x"} (current: {"node":"0.12.7","npm":"2.12.1"})
npm WARN engine xmlbuilder@2.4.6: wanted: {"node":"0.8.x || 0.10.x || 0.11.x || 1.0.x"} (current: {"node":"0.12.7","npm":"2.12.1"})
> phantomjs@1.9.18 install /Users/leobalter/dev/jquery-release/__release/repo/node_modules/grunt-qunit-istanbul/node_modules/grunt-lib-phantomjs-istanbul/node_modules/phantomjs
> node install.js
PhantomJS detected, but wrong version 2.0.0 @ /usr/local/bin/phantomjs.
Downloading https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-macosx.zip
Saving to /var/folders/vs/nf_q5zvx1kb0zhnfft58cz1m0000gn/T/phantomjs/phantomjs-1.9.8-macosx.zip
Receiving...
Received 9187K total.
Extracting zip contents
Removing /Users/leobalter/dev/jquery-release/__release/repo/node_modules/grunt-qunit-istanbul/node_modules/grunt-lib-phantomjs-istanbul/node_modules/phantomjs/lib/phantom
Copying extracted folder /var/folders/vs/nf_q5zvx1kb0zhnfft58cz1m0000gn/T/phantomjs/phantomjs-1.9.8-macosx.zip-extract-1441115805041/phantomjs-1.9.8-macosx -> /Users/leobalter/dev/jquery-release/__release/repo/node_modules/grunt-qunit-istanbul/node_modules/grunt-lib-phantomjs-istanbul/node_modules/phantomjs/lib/phantom
Writing location.js file
Done. Phantomjs binary available at /Users/leobalter/dev/jquery-release/__release/repo/node_modules/grunt-qunit-istanbul/node_modules/grunt-lib-phantomjs-istanbul/node_modules/phantomjs/lib/phantom/bin/phantomjs
> commitplease@2.0.0 install /Users/leobalter/dev/jquery-release/__release/repo/node_modules/commitplease
> node install
Installed /Users/leobalter/dev/jquery-release/__release/repo/.git/hooks/commit-msg
> qunitjs@1.19.0-pre prepublish /Users/leobalter/dev/jquery-release/__release/repo
> grunt build
Running "concat:src-js" (concat) task
File "dist/qunit.js" created.
Running "concat:src-css" (concat) task
File "dist/qunit.css" created.
Done, without errors.
grunt-search@0.1.6 node_modules/grunt-search
grunt-contrib-concat@0.3.0 node_modules/grunt-contrib-concat
grunt-git-authors@3.0.0 node_modules/grunt-git-authors
└── spawnback@1.0.0
browserstack-runner@0.3.0 node_modules/browserstack-runner
├── browserstack@1.1.0
├── chalk@0.4.0 (has-color@0.1.7, ansi-styles@1.0.0, strip-ansi@0.1.1)
└── tunnel@0.0.3
requirejs@2.1.16 node_modules/requirejs
grunt-contrib-watch@0.5.3 node_modules/grunt-contrib-watch
├── tiny-lr@0.0.4 (debug@0.7.4, faye-websocket@0.4.4, noptify@0.0.3, qs@0.5.6)
└── gaze@0.4.3 (globule@0.1.0)
load-grunt-tasks@0.3.0 node_modules/load-grunt-tasks
├── findup-sync@0.1.3 (glob@3.2.11, lodash@2.4.2)
└── globule@0.2.0 (minimatch@0.2.14, glob@3.2.11, lodash@2.4.2)
grunt@0.4.2 node_modules/grunt
├── dateformat@1.0.2-1.2.3
├── which@1.0.9
├── eventemitter2@0.4.14
├── getobject@0.1.0
├── colors@0.6.2
├── async@0.1.22
├── hooker@0.2.3
├── exit@0.1.2
├── rimraf@2.0.3 (graceful-fs@1.1.14)
├── nopt@1.0.10 (abbrev@1.0.7)
├── minimatch@0.2.14 (sigmund@1.0.1, lru-cache@2.6.5)
├── lodash@0.9.2
├── glob@3.1.21 (inherits@1.0.2, graceful-fs@1.2.3)
├── coffee-script@1.3.3
├── underscore.string@2.2.1
├── iconv-lite@0.2.11
├── findup-sync@0.1.3 (glob@3.2.11, lodash@2.4.2)
└── js-yaml@2.0.5 (argparse@0.1.16, esprima@1.0.4)
grunt-coveralls@0.3.0 node_modules/grunt-coveralls
└── coveralls@2.7.1 (log-driver@1.2.1, yaml@0.2.3, lcov-parse@0.0.4, request@2.16.2)
grunt-jscs@0.8.1 node_modules/grunt-jscs
├── vow@0.4.10
├── hooker@0.2.3
├── lodash@2.4.2
└── jscs@1.7.3 (supports-color@1.1.0, strip-json-comments@1.0.4, commander@2.3.0, colors@0.6.2, exit@0.1.2, minimatch@1.0.0, vow-fs@0.3.4, glob@4.0.6, esprima-harmony-jscs@1.1.0-dev-harmony, esprima@1.2.5, xmlbuilder@2.4.6)
grunt-contrib-jshint@0.11.2 node_modules/grunt-contrib-jshint
├── hooker@0.2.3
└── jshint@2.8.0 (strip-json-comments@1.0.4, exit@0.1.2, console-browserify@1.1.0, shelljs@0.3.0, minimatch@2.0.10, cli@0.6.6, htmlparser2@3.8.3, lodash@3.7.0)
grunt-qunit-istanbul@0.5.0 node_modules/grunt-qunit-istanbul
├── rimraf@2.2.8
├── istanbul@0.3.19 (supports-color@1.3.1, which@1.0.9, abbrev@1.0.7, async@1.4.2, wordwrap@0.0.3, nopt@3.0.3, once@1.3.2, mkdirp@0.5.1, esprima@2.5.0, resolve@1.1.6, fileset@0.2.1, escodegen@1.6.1, handlebars@3.0.0, js-yaml@3.4.0)
└── grunt-lib-phantomjs-istanbul@0.6.0 (eventemitter2@0.4.14, semver@1.0.14, temporary@0.0.8, phantomjs@1.9.18)
commitplease@2.0.0 node_modules/commitplease
├── chalk@0.4.0 (has-color@0.1.7, ansi-styles@1.0.0, strip-ansi@0.1.1)
├── semver@2.2.1
└── mout@0.8.0
Installing release dependencies...
shelljs@0.2.6 node_modules/shelljs
Loading project-specific release script...
Checking AUTHORS.txt...
Changing working directory to /Users/leobalter/dev/jquery-release/__release/repo.
Last listed author (Stefan Penner <stefan.penner@gmail.com>) is correct.
##
## CALCULATING VERSIONS
##
Validating current version...
1.18.0
We are going from 1.18.0 to 1.19.0.
After the release, the version will be 1.19.1-pre.
Press enter to continue, or ctrl+c to cancel.
##
## BUILDING RELEASE
##
Changing working directory to /Users/leobalter/dev/jquery-release/__release/repo.
Creating release branch...
Switched to a new branch 'release'
Updating package.json...
Updating bower.json...
Updating package.json URLs...
Running "concat:src-js" (concat) task
File "dist/qunit.js" created.
Running "concat:src-css" (concat) task
File "dist/qunit.css" created.
Running "jshint:all" (jshint) task
>> 21 files lint free.
Running "jscs:all" (jscs) task
>> 20 files without code style errors.
Running "search:xhtml" (search) task
Num results: 0
Creation date: 2015-09-01 13:57:08
Results:
Num matches: 0
Running "qunit:qunit" (qunit) task
Testing test/index.html ................................................................................................................OK
Testing test/autostart.html .OK
Testing test/startError.html ..OK
Testing test/logs.html .......OK
Testing test/setTimeout.html ..OK
Testing test/amd.html .OK
Testing test/reporter-html/legacy-markup.html .......OK
Testing test/reporter-html/no-qunit-element.html .OK
>> 521 assertions passed (1571ms)
>> Coverage:
>> - Lines: 79.85%
>> - Statements: 79.85%
>> - Functions: 85.87%
>> - Branches: 68.25%
Running "test-on-node" task
>> 438 assertions in (506ms), passed: 438, failed: 0
Done, without errors.
Changing working directory to /Users/leobalter/dev/jquery-release/__release/repo.
Committing release artifacts...
[release 5f40956] 1.19.0
4 files changed, 4262 insertions(+), 3 deletions(-)
create mode 100644 qunit/qunit.css
create mode 100644 qunit/qunit.js
Tagging release...
Tue Sep 1 09:57:25 2015 -0400
##
## GENERATING CHANGELOG
##
Adding commits...
Error getting milestones.
Aborting.
Error: API rate limit exceeded for 50.245.62.97. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)
at IncomingMessage.<anonymous> (/Users/leobalter/dev/jquery-release/node_modules/github-request/lib/request.js:74:14)
at IncomingMessage.emit (events.js:129:20)
at _stream_readable.js:908:16
at process._tickCallback (node.js:355:11)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment