diff --git a/resources/build/version/src/index.ts b/resources/build/version/src/index.ts index c9643cda54d..4e494ff4d9a 100644 --- a/resources/build/version/src/index.ts +++ b/resources/build/version/src/index.ts @@ -109,7 +109,7 @@ const main = async (): Promise => { // Increment the version number if history has any entries // - if(argv._.includes('version') && changeCount > 0) { + if(argv._.includes('version') && (changeCount > 0 || argv.force)) { logInfo(`# Incrementing version from ${version}`); const newVersion = incrementVersion(); logInfo(`# New version is ${newVersion}\n`);