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

fix: Fix tag order from git tag function. #30

Merged
merged 2 commits into from
Feb 20, 2020

Conversation

asummers
Copy link
Collaborator

@asummers asummers commented Feb 19, 2020

This list of tags comes in ABC sorted according to git, whereas the
last_valid_non_rc_version function assumed it would come in tag
revision order. This manifests itself in finding e.g. 9.9.0 as the
latest revision when 10.0.0 is in the list of tags, as well. Because
this tag is used later to calculate the diff, it winds up double
counting commits and therefore doing bumps it should not be.

This list of tags comes in ABC sorted according to git, whereas
last_valid_non_rc_version function assumed it would come in tag
revision order. This manifests itself in finding e.g. 9.9.0 as the
latest revision when 10.0.0 is in the list of tags, as well. Because
this tag is used later to calculate the diff, it winds up double
counting commits and therefor doing bumps it should not be.
@coveralls
Copy link

coveralls commented Feb 19, 2020

Pull Request Test Coverage Report for Build 108

  • 4 of 4 (100.0%) changed or added relevant lines in 2 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage increased (+0.1%) to 85.507%

Files with Coverage Reduction New Missed Lines %
lib/git_ops/git.ex 1 35.0%
Totals Coverage Status
Change from base Build 105: 0.1%
Covered Lines: 236
Relevant Lines: 276

💛 - Coveralls

@zachdaniel zachdaniel merged commit 9179fc3 into zachdaniel:master Feb 20, 2020
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.

None yet

3 participants