Skip to content

Commit

Permalink
Release 1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
qiu8310 committed Apr 24, 2015
1 parent 6b903c4 commit 7471b83
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 6 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
@@ -1,4 +1,10 @@

1.3.0 / 2015-04-24
==================

* 修复无法加载模块问题,原因是 package.json 中的 main 文件写错了(应该从 1.1.0 版本就出现了)。


1.2.0 / 2015-04-24
==================

Expand Down
2 changes: 1 addition & 1 deletion bower.json
@@ -1,6 +1,6 @@
{
"name": "elegant.def",
"version": "1.2.0",
"version": "1.3.0",
"homepage": "https://github.com/qiu8310/elegant.def",
"authors": [
"Zhonglei Qiu <zhongleiqiu@gmail.com>"
Expand Down
4 changes: 2 additions & 2 deletions package.json
@@ -1,8 +1,8 @@
{
"name": "elegant.def",
"version": "1.2.0",
"version": "1.3.0",
"description": "Elegant define javascript function",
"main": "src/all.js",
"main": "src/full.js",
"scripts": {
"tape": "browserify test/tape/main.js | testling",
"coveralls": "cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
Expand Down
10 changes: 7 additions & 3 deletions release.sh
Expand Up @@ -14,10 +14,14 @@ function get_package_version() {
which git-release > /dev/null
exit_if_last_not_success '\033[31m git-release required, install it in\033[0m \033[34mhttps://github.com/tj/git-extras\033[0m'

gulp test
exit_if_last_not_success

if test $# -gt 0; then

npm test
exit_if_last_not_success

git pull
exit_if_last_not_success

cur_version=$(get_package_version)
version=$1
echo Current package version $cur_version, bump to $version
Expand Down

0 comments on commit 7471b83

Please sign in to comment.