Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(changelog): support bumping the semantic version via --bump #309

Merged
merged 1 commit into from
Oct 13, 2023

Conversation

orhun
Copy link
Owner

@orhun orhun commented Oct 10, 2023

Description

git-cliff will automatically bump the version for your unreleased changes in the changelog.

For example, if you have 1.0.0 and committed "feat: xyz", git-cliff --bump --unreleased will create a changelog for 1.1.0.

Motivation and Context

Closes #163

How Has This Been Tested?

Unit tests.

Types of Changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation (no code change)
  • Refactor (refactoring production code)
  • Other

Checklist:

  • My code follows the code style of this project.
  • I have updated the documentation accordingly.
  • I have formatted the code with rustfmt.
  • I checked the lints with clippy.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@codecov-commenter
Copy link

codecov-commenter commented Oct 10, 2023

Codecov Report

Attention: 12 lines in your changes are missing coverage. Please review.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Files Coverage Δ
git-cliff/src/args.rs 100.00% <ø> (ø)
git-cliff-core/src/release.rs 53.85% <63.64%> (+53.85%) ⬆️
git-cliff/src/lib.rs 0.00% <0.00%> (ø)

📢 Thoughts on this report? Let us know!.

@orhun orhun changed the title feat(changelog): support bumping the semantic version via --bump (#163) feat(changelog): support bumping the semantic version via --bump Oct 13, 2023
@orhun orhun merged commit bcfcd1f into main Oct 13, 2023
23 checks passed
@orhun orhun deleted the feat/calculate_new_version branch October 13, 2023 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Calculate the next version
2 participants