Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix(changelog): annotated tags not generating proper changelog #388

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

Merged
woile merged 1 commit into master from 378-fix-annotated
May 28, 2021

Conversation

Copy link
Member

@woile woile commented May 27, 2021

Closes #378

Description

Checklist

  • Add test cases to all the changes you introduce
  • Run ./script/format and ./script/test locally to ensure this change passes linter check and test
  • Test the changes on the local machine manually
  • Update the documentation for the changes

Expected behavior

Both annotated and not annotated tags should work.

Steps to Test This Pull Request

git clone https://github.com/Trim21/transmission-rpc.git
cd transmission-rpc
pip install -U commitizen
cz changelog
git tag -l

Additional context

Now both annotated and not annotated are detected. If there's no object from an annotated, it means we have a lightweight tag.

Please also @trim21 let me know if this patch works for you

Copy link

codecov bot commented May 27, 2021
edited
Loading

Codecov Report

Merging #388 (72d9dbd) into master (e107411) will increase coverage by 0.22%.
The diff coverage is 100.00%.

Impacted file tree graph

@@ Coverage Diff @@
## master #388 +/- ##
==========================================
+ Coverage 97.67% 97.90% +0.22% 
==========================================
 Files 39 39 
 Lines 1378 1381 +3 
==========================================
+ Hits 1346 1352 +6 
+ Misses 32 29 -3 
Flag Coverage Δ
unittests 97.90% <100.00%> (+0.22%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
commitizen/__version__.py 100.00% <100.00%> (ø)
commitizen/bump.py 100.00% <100.00%> (ø)
commitizen/config/toml_config.py 100.00% <100.00%> (ø)
commitizen/git.py 100.00% <100.00%> (+3.37%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6192fc3...72d9dbd. Read the comment docs.

Copy link
Contributor

trim21 commented May 28, 2021

thanks I'll test it later.

It should works fine if you have tested it on that repo.

@woile woile requested a review from Lee-W May 28, 2021 08:09
Copy link
Member

@Lee-W Lee-W left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just some minor suggestion. Other parts look good to me 👍

@woile woile force-pushed the 378-fix-annotated branch from 75ada81 to 2f5b411 Compare May 28, 2021 08:41
@woile woile force-pushed the 378-fix-annotated branch from 2f5b411 to 72d9dbd Compare May 28, 2021 08:46
@woile woile merged commit 16b0986 into master May 28, 2021
@woile woile deleted the 378-fix-annotated branch May 28, 2021 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@Lee-W Lee-W Lee-W approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

changelog generator got messed up with annotated tags

AltStyle によって変換されたページ (->オリジナル) /