Automate release process as much as possible

This commit is contained in:
Keith Cirkel 2015-06-03 23:36:25 +01:00
parent 3b17b33cf8
commit f2112e82a6
6 changed files with 66 additions and 92 deletions

1
.gitignore vendored
View file

@ -17,6 +17,7 @@ node_modules
npm-debug.log npm-debug.log
coverage coverage
/chai.js
test/auth/* test/auth/*
!test/auth/.gitkeep !test/auth/.gitkeep

View file

@ -1,3 +1,10 @@
### Note
As of 3.0.0, the History.md file has been deprecated. [Please refer to the full
commit logs available on GitHub](https://github.com/chaijs/chai/commits/master).
---
2.3.0 / 2015-04-26 2.3.0 / 2015-04-26
================== ==================

View file

@ -10,7 +10,31 @@ all: chai.js
chai.js: node_modules lib/* chai.js: node_modules lib/*
@printf "==> [Browser :: build]\n" @printf "==> [Browser :: build]\n"
@./node_modules/.bin/browserify --bare --outfile chai.js --standalone chai --entry index.js @./node_modules/.bin/browserify \
--bare \
--outfile chai.js \
--standalone chai \
--entry index.js
#
# Release Task
#
define release
./node_modules/.bin/bump -y --$(1) *.json lib/chai.js
make chai.js
git add --force chai.js package.json
npm ls --depth=-1 --long . --loglevel silent | head -1 | git commit -F-
endef
release-patch:
@$(call release,patch)
release-minor:
@$(call release,minor)
release-major:
@$(call release,major)
# #
# Node Module # Node Module
@ -79,3 +103,4 @@ clean-cov:
.PHONY: all .PHONY: all
.PHONY: test test-all test-node test-phantom test-sauce test-cov .PHONY: test test-all test-node test-phantom test-sauce test-cov
.PHONY: clean clean-node clean-browser clean-cov .PHONY: clean clean-node clean-browser clean-cov
.PHONY: release-patch release-minor release-major

View file

@ -28,89 +28,22 @@ Chai offers a robust Plugin architecture for extending Chai's assertions and int
- [chaijs / assertion-error](https://github.com/chaijs/assertion-error): Custom `Error` constructor thrown upon an assertion failing. - [chaijs / assertion-error](https://github.com/chaijs/assertion-error): Custom `Error` constructor thrown upon an assertion failing.
- [chaijs / deep-eql](https://github.com/chaijs/deep-eql): Improved deep equality testing for Node.js and the browser. - [chaijs / deep-eql](https://github.com/chaijs/deep-eql): Improved deep equality testing for Node.js and the browser.
- [chaijs / type-detect](https://github.com/chaijs/type-detect): Improved typeof detection for node.js and the browser.
### Contributors ### Contributors
project : chai Please see the full
repo age : 3 years, 5 months [Contributors Graph](https://github.com/chaijs/chai/graphs/contributors) for our
active : 244 days list of contributors.
commits : 900
files : 59 ### Core Contributors
authors :
555 Jake Luer 61.7% Feel free to reach out to any of the core-contributors with you questions or
79 Veselin Todorov 8.8% concerns. We will do our best to respond in a timely manner.
52 Keith Cirkel 5.8%
43 Domenic Denicola 4.8% [![Jake Luer](https://avatars3.githubusercontent.com/u/58988?v=3&s=50)](https://github.com/logicalparadox)
14 Joshua Perry 1.6% [![Veselin Todorov](https://avatars3.githubusercontent.com/u/330048?v=3&s=50)](https://github.com/vesln)
8 Chris Polis 0.9% [![Keith Cirkel](https://avatars3.githubusercontent.com/u/118266?v=3&s=50)](https://github.com/keithamus)
6 Ruben Verborgh 0.7%
6 Ian Zamojc 0.7%
5 George Kats 0.6%
5 leider 0.6%
5 Scott Nonnenberg 0.6%
5 Juliusz Gonera 0.6%
5 Jo Liss 0.6%
4 Jérémie Astori 0.4%
4 John Firebaugh 0.4%
4 charlierudolph 0.4%
4 Veselin 0.4%
4 Chris Jones 0.4%
4 Nick Heiner 0.4%
4 Max Edmands 0.4%
4 David da Silva 0.4%
4 Kaito Udagawa 0.4%
4 josher19 0.4%
3 Jordan Harband 0.3%
3 Ryunosuke SATO 0.3%
3 Jake Rosoman 0.3%
3 Duncan Beevers 0.3%
3 Jason Karns 0.3%
3 Jeff Barczewski 0.3%
3 Andrei Neculau 0.3%
2 eldritch fossicker 0.2%
2 Bartvds 0.2%
2 Edwin Shao 0.2%
2 Gregg Lind 0.2%
2 Jakub Nešetřil 0.2%
2 Roman Masek 0.2%
2 Teddy Cross 0.2%
1 Jesse McCarthy 0.1%
1 Doug Neiner 0.1%
1 Dido Arellano 0.1%
1 Kilian Ciuffolo 0.1%
1 Luís Cardoso 0.1%
1 Martin Middel 0.1%
1 Mathias Schreck 0.1%
1 Danilo Vaz 0.1%
1 Michael Lange 0.1%
1 Mitchell Johnson 0.1%
1 DD 0.1%
1 Niklas Närhinen 0.1%
1 Paul Miller 0.1%
1 Refael Ackermann 0.1%
1 shinnn 0.1%
1 Chun-Yi 0.1%
1 Christopher Hiller 0.1%
1 Sasha Koss 0.1%
1 Chris Thompson 0.1%
1 toastynerd 0.1%
1 Chris Connelly 0.1%
1 Chasen Le Hara 0.1%
1 Victor Costan 0.1%
1 Vinay Pulim 0.1%
1 Virginie BARDALES 0.1%
1 Vlad GURDIGA 0.1%
1 Brandon Payton 0.1%
1 Adam Hull 0.1%
1 ericdouglas 0.1%
1 Benjamin Horsleben 0.1%
1 laconbass 0.1%
1 Anand Patil 0.1%
1 mohayonao 0.1%
1 piecioshka 0.1%
1 root 0.1%
1 Julien Wajsberg 0.1%
1 Jeff Welch 0.1%
## License ## License

View file

@ -1,5 +1,12 @@
# Release Notes # Release Notes
## Note
As of 3.0.0, the ReleaseNotes.md file has been deprecated. [Please refer to the release notes available on Github](https://github.com/chaijs/chai/releases). Or
[the release notes on the chaijs.com website](https://chaijs.com/releases).
---
## 2.3.0 / 2015-04-26 ## 2.3.0 / 2015-04-26
Added `ownPropertyDescriptor` assertion: Added `ownPropertyDescriptor` assertion:

View file

@ -33,18 +33,19 @@
"node": ">= 0.4.0" "node": ">= 0.4.0"
}, },
"dependencies": { "dependencies": {
"assertion-error": "1.0.1", "assertion-error": "^1.0.1",
"deep-eql": "0.1.3", "deep-eql": "^0.1.3",
"type-detect": "1.0.0" "type-detect": "^1.0.0"
}, },
"devDependencies": { "devDependencies": {
"browserify": "10.2.1", "browserify": "^10.2.1",
"karma": "0.12.x", "bump-cli": "^1.1.3",
"karma-mocha": "*", "karma": "^0.12.0",
"karma-sauce-launcher": "0.2.x", "karma-mocha": "^0.1.10",
"karma-phantomjs-launcher": "0.1.1", "karma-sauce-launcher": "^0.2.11",
"karma-firefox-launcher": "^0.1.4", "karma-phantomjs-launcher": "^0.2.0",
"mocha": "1.21.x", "karma-firefox-launcher": "^0.1.6",
"istanbul": "0.2.x" "mocha": "^2.2.5",
"istanbul": "^0.3.14"
} }
} }