From f40b4a55058cea111c01a75169a1b1f99f434cac Mon Sep 17 00:00:00 2001 From: Max Waterman Date: Sun, 27 Oct 2013 14:11:52 +0000 Subject: [PATCH] Adding grunt-release. --- Gruntfile.js | 11 ++++++++++- package.json | 3 ++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 2625867..1c18d95 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -7,6 +7,7 @@ module.exports = function (grunt) { grunt.loadNpmTasks('grunt-contrib-cssmin'); grunt.loadNpmTasks('grunt-contrib-htmlmin'); grunt.loadNpmTasks('grunt-contrib-imagemin'); + grunt.loadNpmTasks('grunt-release'); grunt.loadTasks('tools/grunt-tasks'); grunt.initConfig({ @@ -15,6 +16,14 @@ module.exports = function (grunt) { clean: ['build'], + release: { + options: { + npm: false, + npmtag: false, + tagName: 'v<%= version %>' + } + }, + tizen_configuration: { // location on the device to install the tizen-app.sh script to // (default: '/tmp') @@ -181,7 +190,7 @@ module.exports = function (grunt) { files: 'build/sdk/**', stripPrefix: 'build/sdk/', outDir: 'build', - suffix: '.wgt', + suffix: '.wgt' } }, diff --git a/package.json b/package.json index 6435645..501d272 100644 --- a/package.json +++ b/package.json @@ -26,6 +26,7 @@ "grunt-contrib-imagemin": "~0.1.3", "grunt-contrib-htmlmin": "~0.1.3", "connect": "~2.7.11", - "grunt-tizen": "~0.1.1" + "grunt-tizen": "~0.1.1", + "grunt-release": "~0.6.0" } }