Skip to content

Commit

Permalink
fix: conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
Lars Solberg committed Feb 15, 2024
2 parents 0d3405c + 46ec85b commit 8a5219c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion commitizen/version_schemes.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,8 @@ def bump(
prerelease_offset: int = 0,
devrelease: int | None = None,
is_local_version: bool = False,
force_bump: bool = False,
build_metadata: str | None = None,
force_bump: bool = False,
) -> Self:
"""Based on the given increment a proper semver will be generated.
Expand Down Expand Up @@ -261,6 +261,7 @@ def bump(
base = self.increment_base(increment)
dev_version = self.generate_devrelease(devrelease)

build_metadata = self.generate_build_metadata(build_metadata)
release = list(self.release)
if len(release) < 3:
release += [0] * (3 - len(release))
Expand Down

0 comments on commit 8a5219c

Please sign in to comment.