Renamed the file to produce correct filename.
This commit is contained in:
parent
611d5aac82
commit
626bf9a3b3
21
Gruntfile.js
21
Gruntfile.js
|
@ -215,31 +215,32 @@ module.exports = function( grunt ) {
|
||||||
},
|
},
|
||||||
contributors: {
|
contributors: {
|
||||||
command: [
|
command: [
|
||||||
'echo "<h2>WooCommerce Admin</h2>" > contributors.md',
|
'echo "<h2>WooCommerce Admin</h2>" > contributors.html',
|
||||||
'echo "Generating contributor list for WC Admin since <%= fromDate %>"',
|
'echo "Generating contributor list for WC Admin since <%= fromDate %>"',
|
||||||
'./node_modules/.bin/githubcontrib --owner woocommerce --repo woocommerce-admin --fromDate <%= fromDate %>' +
|
'./node_modules/.bin/githubcontrib --owner woocommerce --repo woocommerce-admin --fromDate <%= fromDate %>' +
|
||||||
' --authToken <%= authToken %> --cols 6 --sortBy contributions --format html --sortOrder desc' +
|
' --authToken <%= authToken %> --cols 6 --sortBy contributions --format html --sortOrder desc' +
|
||||||
' --showlogin true --filter "renovate-bot,apps/renovate,renovate,renovate[bot]" >> contributors.md',
|
' --showlogin true --filter "renovate-bot,apps/renovate,renovate,renovate[bot]" >> contributors.html',
|
||||||
'echo "<h2>WooCommerce Blocks</h2>" >> contributors.md',
|
'echo "<h2>WooCommerce Blocks</h2>" >> contributors.html',
|
||||||
'echo "Generating contributor list for WC Blocks since <%= fromDate %>"',
|
'echo "Generating contributor list for WC Blocks since <%= fromDate %>"',
|
||||||
'./node_modules/.bin/githubcontrib --owner woocommerce --repo woocommerce-gutenberg-products-block' +
|
'./node_modules/.bin/githubcontrib --owner woocommerce --repo woocommerce-gutenberg-products-block' +
|
||||||
' --fromDate <%= fromDate %> --authToken <%= authToken %> --cols 6 --sortBy contributions --format html' +
|
' --fromDate <%= fromDate %> --authToken <%= authToken %> --cols 6 --sortBy contributions --format html' +
|
||||||
' --sortOrder desc --showlogin true --filter "renovate-bot,apps/renovate,renovate,renovate[bot]" >> contributors.md',
|
' --sortOrder desc --showlogin true --filter "renovate-bot,apps/renovate,renovate,renovate[bot]" >> contributors.html',
|
||||||
'echo "<h2>Action Scheduler</h2>" >> contributors.md',
|
'echo "<h2>Action Scheduler</h2>" >> contributors.html',
|
||||||
'echo "Generating contributor list for Action Scheduler since <%= fromDate %>"',
|
'echo "Generating contributor list for Action Scheduler since <%= fromDate %>"',
|
||||||
'./node_modules/.bin/githubcontrib --owner woocommerce --repo action-scheduler --fromDate <%= fromDate %>' +
|
'./node_modules/.bin/githubcontrib --owner woocommerce --repo action-scheduler --fromDate <%= fromDate %>' +
|
||||||
' --authToken <%= authToken %> --cols 6 --sortBy contributions --format html --sortOrder desc' +
|
' --authToken <%= authToken %> --cols 6 --sortBy contributions --format html --sortOrder desc' +
|
||||||
' --showlogin true --filter "renovate-bot,apps/renovate,renovate,renovate[bot]" >> contributors.md',
|
' --showlogin true --filter "renovate-bot,apps/renovate,renovate,renovate[bot]" >> contributors.html',
|
||||||
'echo "<h2>REST API</h2>" >> contributors.md',
|
'echo "<h2>REST API</h2>" >> contributors.html',
|
||||||
'echo "Generating contributor list for REST API since <%= fromDate %>"',
|
'echo "Generating contributor list for REST API since <%= fromDate %>"',
|
||||||
'./node_modules/.bin/githubcontrib --owner woocommerce --repo woocommerce-rest-api --fromDate <%= fromDate %>' +
|
'./node_modules/.bin/githubcontrib --owner woocommerce --repo woocommerce-rest-api --fromDate <%= fromDate %>' +
|
||||||
' --authToken <%= authToken %> --cols 6 --sortBy contributions --format html --sortOrder desc' +
|
' --authToken <%= authToken %> --cols 6 --sortBy contributions --format html --sortOrder desc' +
|
||||||
' --showlogin true --filter "renovate-bot,apps/renovate,renovate,renovate[bot]" >> contributors.md',
|
' --showlogin true --filter "renovate-bot,apps/renovate,renovate,renovate[bot]" >> contributors.html',
|
||||||
'echo "<h2>WooCommerce core</h2>" >> contributors.md',
|
'echo "<h2>WooCommerce core</h2>" >> contributors.html',
|
||||||
'echo "Generating contributor list for WC core since <%= fromDate %>"',
|
'echo "Generating contributor list for WC core since <%= fromDate %>"',
|
||||||
'./node_modules/.bin/githubcontrib --owner woocommerce --repo woocommerce --fromDate <%= fromDate %>' +
|
'./node_modules/.bin/githubcontrib --owner woocommerce --repo woocommerce --fromDate <%= fromDate %>' +
|
||||||
' --authToken <%= authToken %> --cols 6 --sortBy contributions --format html --sortOrder desc' +
|
' --authToken <%= authToken %> --cols 6 --sortBy contributions --format html --sortOrder desc' +
|
||||||
' --showlogin true --filter "renovate-bot,apps/renovate,renovate,renovate[bot]" >> contributors.md'
|
' --showlogin true --filter "renovate-bot,apps/renovate,renovate,renovate[bot]" >> contributors.html',
|
||||||
|
'echo "Output generated to contributors.html."',
|
||||||
].join('&&')
|
].join('&&')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue