From c65eb7195256773a56c104abd4acfa5c8a760e78 Mon Sep 17 00:00:00 2001 From: RemixDev Date: Mon, 19 Jul 2021 16:34:30 +0200 Subject: [PATCH] Fixed month in version number --- scripts/set-version.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/set-version.js b/scripts/set-version.js index 68ce04d..01e62a3 100644 --- a/scripts/set-version.js +++ b/scripts/set-version.js @@ -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()