From 59a26c87c4ea38a6cf864e44dd8c05a4286d9cf3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jo=CC=88rn=20Zaefferer?= Date: Fri, 9 Mar 2012 16:25:51 +0100 Subject: [PATCH] Build/grunt: Can use config('pkg.version'), now was fixed in grunt --- grunt.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grunt.js b/grunt.js index b60ac9e67..a2929ff28 100644 --- a/grunt.js +++ b/grunt.js @@ -254,7 +254,7 @@ config('files', files); task.registerBasicTask('copy', 'Copy files to destination folder and replace @VERSION with pkg.version', function(data) { function replaceVersion(source) { - return source.replace("@VERSION", config("pkg").version); + return source.replace("@VERSION", config("pkg.version")); } var files = file.expand(data.src); var target = data.dest + '/'; -- 2.39.5