Fixed month in version number
This commit is contained in:
parent
a48e48e37b
commit
c65eb71952
@ -4,7 +4,7 @@ const fs = require('fs')
|
|||||||
function generateVersion(){
|
function generateVersion(){
|
||||||
const now = new Date();
|
const now = new Date();
|
||||||
const year = now.getFullYear();
|
const year = now.getFullYear();
|
||||||
const month = now.getMonth();
|
const month = now.getMonth()+1;
|
||||||
const day = now.getDate();
|
const day = now.getDate();
|
||||||
|
|
||||||
const commitsNumber = String(execSync('git rev-list --count HEAD')).trim()
|
const commitsNumber = String(execSync('git rev-list --count HEAD')).trim()
|
||||||
|
Loading…
Reference in New Issue
Block a user