@@ -46,8 +46,8 @@ module.exports = function(grunt) {
46
46
file : 'test/fixtures/_component.json' ,
47
47
changelog : 'test/fixtures/_CHANGELOG.md' ,
48
48
additionalFiles : [ 'test/fixtures/_bower.json' ] ,
49
- changelogText : '### <%= version %>\n' ,
50
- commitMessage : 'v<%= version %>'
49
+ changelogText : grunt . template . process ( '### <%= version %>\n' , { data : { 'version' : '0.0.13' } } ) ,
50
+ commitMessage : grunt . template . process ( 'v<%= version %>' , { data : { 'version' : '0.0.13' } } )
51
51
}
52
52
} ,
53
53
absolute : {
@@ -78,25 +78,25 @@ module.exports = function(grunt) {
78
78
setup : {
79
79
test : {
80
80
files : [ {
81
- src : 'test/fixtures/component.json' ,
81
+ from : 'test/fixtures/component.json' ,
82
82
dest : 'test/fixtures/_component.json'
83
83
} , {
84
- src : 'test/fixtures/bower.json' ,
84
+ from : 'test/fixtures/bower.json' ,
85
85
dest : 'test/fixtures/_bower.json'
86
86
} , {
87
- src : 'test/fixtures/CHANGELOG.md' ,
87
+ from : 'test/fixtures/CHANGELOG.md' ,
88
88
dest : 'test/fixtures/_CHANGELOG.md'
89
89
} , {
90
- src : 'test/fixtures/bower.json' ,
90
+ from : 'test/fixtures/bower.json' ,
91
91
dest : 'test/fixtures/_bower-absolute.json'
92
92
} , {
93
- src : 'test/fixtures/component.json' ,
93
+ from : 'test/fixtures/component.json' ,
94
94
dest : 'test/fixtures/_component-patch.json'
95
95
} , {
96
- src : 'test/fixtures/component.json' ,
96
+ from : 'test/fixtures/component.json' ,
97
97
dest : 'test/fixtures/_component-minor.json'
98
98
} , {
99
- src : 'test/fixtures/component.json' ,
99
+ from : 'test/fixtures/component.json' ,
100
100
dest : 'test/fixtures/_component-major.json'
101
101
} ]
102
102
}
@@ -117,7 +117,7 @@ module.exports = function(grunt) {
117
117
118
118
grunt . registerMultiTask ( 'setup' , 'Setup test fixtures' , function ( ) {
119
119
this . files . forEach ( function ( f ) {
120
- grunt . file . copy ( f . src , f . dest ) ;
120
+ grunt . file . copy ( f . from , f . dest ) ;
121
121
} ) ;
122
122
} ) ;
123
123
0 commit comments