Skip to content

Commit

Permalink
chore: set the version updater name accordingly (#1109)
Browse files Browse the repository at this point in the history
  • Loading branch information
kalosisz authored Nov 23, 2021
1 parent 34c70fa commit 3618988
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/versioning-strategy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit 3618988

Please sign in to comment.