We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ca9ac1 commit be2205aCopy full SHA for be2205a
Gruntfile.js
@@ -229,8 +229,23 @@ module.exports = function(grunt) {
229
}
230
});
231
232
+ grunt.config('string-replace.templates', {
233
+ files: {
234
+ 'templates/types.js': 'templates/types.js'
235
+ },
236
+ options: {
237
+ replacements: [
238
+ {
239
+ pattern: /: .*/,
240
+ replacement: ': ' + version
241
+ }
242
+ ]
243
244
+ });
245
+
246
grunt.task.run([
247
'string-replace:json',
248
+ 'string-replace:templates',
249
'string-replace:numeral'
250
]);
251
templates/types.js
@@ -1,6 +1,6 @@
1
/*! @preserve
2
* numeral.js
3
- * <%= type %>: 2.0.3
+ * <%= type %> : 2.0.4
4
* license : MIT
5
* http://adamwdraper.github.com/Numeral-js/
6
*/
0 commit comments