Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Adding grunt-release.
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Waterman committed Oct 27, 2013
1 parent 237bdc5 commit f40b4a5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
11 changes: 10 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand All @@ -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')
Expand Down Expand Up @@ -181,7 +190,7 @@ module.exports = function (grunt) {
files: 'build/sdk/**',
stripPrefix: 'build/sdk/',
outDir: 'build',
suffix: '.wgt',
suffix: '.wgt'
}
},

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}

0 comments on commit f40b4a5

Please sign in to comment.