mirror of
https://github.com/hcengineering/platform.git
synced 2025-05-06 15:35:28 +00:00
Fix bump version
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
parent
e8fefa7691
commit
b8028597d6
@ -13,7 +13,7 @@ child_process.exec('git describe --tags --abbrev=0', (err, stdout, stderr) => {
|
||||
console.log('Error', err)
|
||||
process.exit(1)
|
||||
}
|
||||
const rawVersion = stdout.trim().replace('v', '').replace('u', '').split('.')
|
||||
const rawVersion = stdout.trim().replace('v', '').replace('u', '').replace('s', '').split('.')
|
||||
if (rawVersion.length === 3) {
|
||||
const version = {
|
||||
major: parseInt(rawVersion[0]),
|
||||
|
Loading…
Reference in New Issue
Block a user