File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -13,9 +13,7 @@ module.exports = function (grunt) {
13
13
var prodConfig = require ( '../webpack.build.prod.config' )
14
14
15
15
// handle version
16
- var version =
17
- process . env . VUE_VERSION ||
18
- require ( '../../package.json' ) . version
16
+ var version = require ( '../../package.json' ) . version
19
17
20
18
// add banner
21
19
var banner = new webpack . BannerPlugin (
Original file line number Diff line number Diff line change @@ -69,14 +69,13 @@ module.exports = function (grunt) {
69
69
if ( ! answer || answer . toLowerCase ( ) === 'y' ) {
70
70
console . log ( blue ( 'Releasing: ' + next ) )
71
71
// set version in env
72
- process . env . VUE_VERSION = next
73
72
grunt . task . run ( [
74
73
'eslint' ,
75
74
'cover' ,
75
+ 'version:' + next ,
76
76
'build' ,
77
77
'casper' ,
78
78
'sauce' ,
79
- 'version:' + next ,
80
79
'git:' + next
81
80
] )
82
81
}
You can’t perform that action at this time.
0 commit comments