Skip to content

Commit

Permalink
Merge branch 'release/0.0.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
edoparearyee committed Feb 9, 2015
2 parents 6729245 + 9fcd326 commit 6ae68c1
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 2 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
@@ -0,0 +1,7 @@
## Changes in 0.0.2

* @eopa: Add grunt bump for versioning (#3)

## Changes in 0.0.1

* First Release
20 changes: 18 additions & 2 deletions Gruntfile.js
Expand Up @@ -267,8 +267,19 @@ module.exports = function (grunt) {
outdir: "docs/"
}
}
}
},

bump: {
options: {
files: ["package.json", "bower.json"],
updateConfigs: ["pkg"],
commit: true,
commitFiles: ["-a"],
createTag: true,
push: true,
pushTo: "origin master"
}
}

});

Expand All @@ -285,6 +296,7 @@ module.exports = function (grunt) {
grunt.loadNpmTasks("grunt-protractor-runner");
grunt.loadNpmTasks("grunt-protractor-webdriver");
grunt.loadNpmTasks("grunt-processhtml");
grunt.loadNpmTasks("grunt-bump");

grunt.registerTask("build", [
"clean:beforeBuild",
Expand All @@ -295,6 +307,11 @@ module.exports = function (grunt) {
"yuidoc"
]);

grunt.registerTask("release", [
"build",
"bump"
]);

grunt.registerTask("server", [
"less:development",
"connect:server",
Expand Down Expand Up @@ -330,6 +347,5 @@ module.exports = function (grunt) {
]);

grunt.registerTask("default", ["build"]);
grunt.registerTask("release", ["build"]);

};
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -13,6 +13,7 @@
"connect-livereload": "~0.5.0",
"connect-modrewrite": "~0.7.9",
"coveralls": "~2.11.2",
"grunt-bump": "~0.1.0",
"grunt-contrib-clean": "~0.6.0",
"grunt-contrib-concat": "~0.5.0",
"grunt-contrib-connect": "~0.9.0",
Expand Down

0 comments on commit 6ae68c1

Please sign in to comment.