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

Commit

Permalink
Add Gruntfile.js for grunt-release + grunt-tag
Browse files Browse the repository at this point in the history
  • Loading branch information
jcombes committed Feb 13, 2015
1 parent dd9ff26 commit 4326a43
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
24 changes: 24 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
module.exports = function(grunt) {

grunt.loadNpmTasks('grunt-release');
grunt.loadNpmTasks('grunt-tag');

grunt.initConfig({
release: {
options: {
npm: false,
afterReleaseTasks: ['tag'],
github: {
repo: "AirVantage/node-tech-time",
usernameVar: 'GITHUB_USERNAME',
passwordVar: 'GITHUB_PASSWORD'
}
}
},
tag: {
options: {
tagName: '<%= version.match(/\\d*/) %>.x'
}
}
});
};
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,10 @@
"repository": {
"type": "git",
"url": "https://github.com/AirVantage/node-tech-time.git"
},
"devDependencies": {
"grunt": "^0.4.5",
"grunt-release": "^0.11.0",
"grunt-tag": "^0.1.0"
}
}

0 comments on commit 4326a43

Please sign in to comment.