Permalink
Browse files

update numeral version

  • Loading branch information...
1 parent 2a69b18 commit 4ca9ac16134a8d18c70ebad295514f8fef29ac23 Adam Draper committed Dec 21, 2016
Showing with 22 additions and 3 deletions.
  1. +20 −1 Gruntfile.js
  2. +2 −2 src/numeral.js
View
@@ -211,8 +211,27 @@ module.exports = function(grunt) {
}
});
+ grunt.config('string-replace.numeral', {
+ files: {
+ 'src/numeral.js': 'src/numeral.js'
+ },
+ options: {
+ replacements: [
+ {
+ pattern: /version : .*/,
+ replacement: 'version : ' + version
+ },
+ {
+ pattern: /VERSION = .*/,
+ replacement: 'VERSION = \'' + version + '\','
+ }
+ ]
+ }
+ });
+
grunt.task.run([
- 'string-replace:json'
+ 'string-replace:json',
+ 'string-replace:numeral'
]);
});
View
@@ -1,6 +1,6 @@
/*! @preserve
* numeral.js
- * version : 2.0.3
+ * version : 2.0.4
* author : Adam Draper
* license : MIT
* http://adamwdraper.github.com/Numeral-js/
@@ -21,7 +21,7 @@
var numeral,
_,
- VERSION = '2.0.3',
+ VERSION = '2.0.4',
formats = {},
locales = {},
defaults = {

0 comments on commit 4ca9ac1

Please sign in to comment.