Commit d4b5a197 authored by Rick Waldron's avatar Rick Waldron

Make @VERSION replace regex global. Fixes #11960

parent 3206be87
...@@ -348,7 +348,7 @@ module.exports = function( grunt ) { ...@@ -348,7 +348,7 @@ module.exports = function( grunt ) {
// Embed Date // Embed Date
// Embed Version // Embed Version
compiled = compiled.replace( "@DATE", new Date() ) compiled = compiled.replace( "@DATE", new Date() )
.replace( "@VERSION", version ); .replace( /@VERSION/g, version );
// Write concatenated source to file // Write concatenated source to file
file.write( name, compiled ); file.write( name, compiled );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment