From 361898859de01ad05b7aa532d6290b461a62ea2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Szil=C3=A1rd=20K=C3=A1losi?= Date: Tue, 23 Nov 2021 23:29:04 +0100 Subject: [PATCH] chore: set the version updater name accordingly (#1109) --- src/versioning-strategy.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/versioning-strategy.ts b/src/versioning-strategy.ts index 95fbf3a86..56f788e65 100644 --- a/src/versioning-strategy.ts +++ b/src/versioning-strategy.ts @@ -34,7 +34,7 @@ export class MajorVersionUpdate implements VersionUpdater { } export class MinorVersionUpdate implements VersionUpdater { - name = 'major'; + name = 'minor'; bump(version: Version): Version { return new Version( version.major, @@ -47,7 +47,7 @@ export class MinorVersionUpdate implements VersionUpdater { } export class PatchVersionUpdate implements VersionUpdater { - name = 'major'; + name = 'patch'; bump(version: Version): Version { return new Version( version.major,