mirror of
https://github.com/keymanapp/keyman.git
synced 2026-10-11 16:37:28 +00:00
Merge pull request #6773 from keymanapp/chore/increment-version-force
chore: fix version increment for force parameter
This commit is contained in:
commit
259eea6c87
1 changed files with 1 additions and 1 deletions
|
|
@ -109,7 +109,7 @@ const main = async (): Promise<void> => {
|
|||
// 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`);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue