File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,8 @@ module.exports = function(grunt) {
1818 cat : 'jquery.powertip.js' ,
1919 min : 'jquery.powertip.min.js' ,
2020 zip : 'jquery.powertip-<%= pkg.version %>.zip' ,
21- license : 'LICENSE.txt'
21+ license : 'LICENSE.txt' ,
22+ changelog : 'CHANGELOG.yml'
2223 } ,
2324 banner : [
2425 '/*!' ,
@@ -166,8 +167,8 @@ module.exports = function(grunt) {
166167 nonull : true
167168 } ,
168169 changelog : {
169- src : [ 'CHANGELOG.yml ' ] ,
170- dest : '<%= buildpath %>/CHANGELOG.yml ' ,
170+ src : [ '<%= files.changelog %> ' ] ,
171+ dest : '<%= buildpath %>/<%= files.changelog %> ' ,
171172 nonull : true
172173 } ,
173174 index : {
@@ -260,7 +261,7 @@ module.exports = function(grunt) {
260261 data = {
261262 pkg : grunt . file . readJSON ( 'package.json' ) ,
262263 doc : grunt . file . read ( 'doc/README.md' ) ,
263- changelog : grunt . file . readYAML ( 'CHANGELOG.yml' )
264+ changelog : grunt . file . readYAML ( grunt . template . process ( '<%= files.changelog %>' ) )
264265 } ,
265266 page = grunt . template . process ( template , { data : data } ) ;
266267 grunt . file . write ( 'dist/index.md' , page ) ;
You can’t perform that action at this time.
0 commit comments