diff --git a/Gruntfile.js b/Gruntfile.js index d4cf7b6..4524e5d 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -21,14 +21,6 @@ module.exports = function(grunt) { browsers: ['Chrome'] } }, - bump: { - options: { - files: ['bower.json', 'package.json'], - commit: true, - commitMessage: 'Release v%VERSION%', - commitFiles: ['bower.json', 'package.json'], - } - }, git_changelog: { default: { options: { @@ -39,13 +31,9 @@ module.exports = function(grunt) { } } } - - - }); grunt.loadNpmTasks('grunt-browserify'); grunt.loadNpmTasks('grunt-karma'); - grunt.loadNpmTasks('grunt-bump'); grunt.loadNpmTasks('git-changelog'); }; diff --git a/README.md b/README.md index d7c60cd..ae548d2 100644 --- a/README.md +++ b/README.md @@ -44,15 +44,15 @@ Build a new version: gulp build ``` -Commit and update version: +Update version in bower.json and package.json and commit: ```sh -grunt bump:patch +git commit -a -m "Release 5.0.8" ``` Tag, sign and push: ```sh -git tag -s v5.0.8 +git tag -s v5.0.8 -m "v5.0.8" git push --tags ``` diff --git a/bower.json b/bower.json index bf1d39c..2809e89 100644 --- a/bower.json +++ b/bower.json @@ -4,7 +4,7 @@ "dist/css/bc-phone-number.css", "dist/js/bc-phone-number.js" ], - "version": "5.0.8", + "version": "5.0.9", "authors": [ "Abdullah Alansari ", "Justin Tormey ", @@ -41,7 +41,7 @@ "bootstrap": "~3.3.5", "bc-css-flags": "~3.0.0", "bc-countries": "~2.0.0", - "angular-bootstrap": "~1.1.*" + "angular-bootstrap": "0.14.0 - 1.1.*" }, "devDependencies": { "angular-mocks": "~1.4.7" diff --git a/package.json b/package.json index 029172b..7ca8e4a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bc-phone-number", - "version": "5.0.8", + "version": "5.0.9", "description": "An AngularJS international phone input directive", "main": "src/bc-phone-number.js", "scripts": { @@ -36,7 +36,6 @@ "git-changelog": "^0.1.8", "grunt": "^0.4.5", "grunt-browserify": "^4.0.1", - "grunt-bump": "^0.6.0", "grunt-karma": "^0.12.1", "gulp": "^3.9.0", "gulp-angular-templatecache": "^1.7.0",