Merge pull request #1448 from cmgustavo/feature/improvement-releases

Automating the release steps with Grunt
This commit is contained in:
Matias Alejo Garcia 2014-09-22 09:25:41 -03:00
commit 11c6650f81
2 changed files with 24 additions and 1 deletions

View File

@ -10,9 +10,31 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-angular-gettext');
grunt.loadNpmTasks('grunt-jsdoc');
grunt.loadNpmTasks('grunt-release');
// Project Configuration
grunt.initConfig({
release: {
options: {
bump: true,
file: 'package.json',
add: true,
commit: true,
tag: true,
push: true,
pushTags: true,
npm: false,
npmtag: true,
tagName: 'v<%= version %>',
commitMessage: 'New release v<%= version %>',
tagMessage: 'Version <%= version %>',
github: {
repo: 'bitpay/copay',
usernameVar: 'GITHUB_USERNAME', //ENVIRONMENT VARIABLE that contains Github username
passwordVar: 'GITHUB_PASSWORD' //ENVIRONMENT VARIABLE that contains Github password
}
}
},
shell: {
prod: {
options: {

View File

@ -42,6 +42,7 @@
],
"devDependencies": {
"async": "0.9.0",
"bitcore": "0.1.36",
"blanket": "1.1.6",
"browser-pack": "2.0.1",
"browser-request": "0.3.2",
@ -64,8 +65,8 @@
"grunt-contrib-watch": "0.5.3",
"grunt-jsdoc": "^0.5.7",
"grunt-markdown": "0.5.0",
"bitcore": "0.1.36",
"grunt-mocha-test": "0.8.2",
"grunt-release": "^0.7.0",
"grunt-shell": "0.6.4",
"istanbul": "0.2.10",
"karma": "0.12.9",