File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -141,14 +141,18 @@ module.exports = function(grunt) {
141141 shell : {
142142 //We use %version% and evluate it at run-time, because <%= pkg.version %>
143143 //is only evaluated once
144- release : [
144+ ' release-prepare' : [
145145 'grunt before-test after-test' ,
146146 'grunt version' , //remove "-SNAPSHOT"
147- 'grunt changelog' ,
147+ 'grunt changelog'
148+ ] ,
149+ 'release-complete' : [
148150 'git commit CHANGELOG.md package.json -m "chore(release): v%version%"' ,
149- 'git tag %version%' ,
151+ 'git tag %version%'
152+ ] ,
153+ 'release-start' : [
150154 'grunt version:minor:"SNAPSHOT"' ,
151- 'git commit package.json -m "chore(): Starting v%version%"'
155+ 'git commit package.json -m "chore(release ): Starting v%version%"'
152156 ]
153157 } ,
154158 ngdocs : {
You can’t perform that action at this time.
0 commit comments