Merge pull request #6813 from tschaub/version-with-a-v

Prepend the version with a v
This commit is contained in:
Tim Schaub
2017-05-16 09:02:08 -07:00
committed by GitHub

View File

@@ -132,7 +132,7 @@ module.exports = function(info, api) {
// replace `ol.VERSION = ''` with correct version
root.find(j.ExpressionStatement, getMemberExpressionAssignment('ol.VERSION'))
.forEach(path => {
path.value.expression.right = j.literal(thisPackage.version);
path.value.expression.right = j.literal('v' + thisPackage.version);
});
const replacements = {};