Remove "v" prefix from version.

This commit is contained in:
John-David Dalton
2016-07-04 11:22:22 -07:00
parent 9ab55443eb
commit d7b2f922b5

View File

@@ -13,7 +13,7 @@ var basePath = path.join(__dirname, '..', '..'),
function build(type) { function build(type) {
var $ = marky(fs.readFileSync(readmePath, 'utf8'), { 'sanitize': false }), var $ = marky(fs.readFileSync(readmePath, 'utf8'), { 'sanitize': false }),
$header = $('h1').first().remove(), $header = $('h1').first().remove(),
version = _.trim($header.find('span').first().text()); version = _.trim($header.find('span').first().text()).slice(1);
$('[id^="user-content-"]') $('[id^="user-content-"]')
.attr('class', null) .attr('class', null)