Prepend the version with a v

This commit is contained in:
Tim Schaub
2017-05-15 19:31:40 -07:00
parent 4664a19718
commit 07810818cc
+1 -1
View File
@@ -132,7 +132,7 @@ module.exports = function(info, api) {
// replace `ol.VERSION = ''` with correct version // replace `ol.VERSION = ''` with correct version
root.find(j.ExpressionStatement, getMemberExpressionAssignment('ol.VERSION')) root.find(j.ExpressionStatement, getMemberExpressionAssignment('ol.VERSION'))
.forEach(path => { .forEach(path => {
path.value.expression.right = j.literal(thisPackage.version); path.value.expression.right = j.literal('v' + thisPackage.version);
}); });
const replacements = {}; const replacements = {};