Fixed month in version number

This commit is contained in:
RemixDev 2021-07-19 16:34:30 +02:00
parent a48e48e37b
commit c65eb71952

View File

@ -4,7 +4,7 @@ const fs = require('fs')
function generateVersion(){
const now = new Date();
const year = now.getFullYear();
const month = now.getMonth();
const month = now.getMonth()+1;
const day = now.getDate();
const commitsNumber = String(execSync('git rev-list --count HEAD')).trim()