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()