mattbrictson / chandler

[unmaintained] chandler syncs your CHANGELOG entries to GitHub's release notes
MIT License
152 stars 15 forks source link

Ignore missing versions #5

Closed jhalterman closed 8 years ago

jhalterman commented 8 years ago

When running chandler push on a changelog, there might be some versions that I have tags for which aren't present in the changelog. It would be nice if I could have chandler ignore the missing versions in the changelog and just push what it can. Currently I get an error, like:

/Users/jonathan/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/chandler-0.1.2/lib/chandler/changelog.rb:35:in `block in fetch': Couldn’t find 0.2.1 in CHANGELOG.md (Chandler::Changelog::NoMatchingVersion)
mattbrictson commented 8 years ago

Yes, I can see this being useful. I'll work on this maybe tomorrow.

jhalterman commented 8 years ago

I should mentions, the opposite could be true as well - changelog stuff with missing tags. We should probably be able to avoid errors there as well.

mattbrictson commented 8 years ago

Yes, I believe Chandler already ignores any extra stuff in the CHANGELOG. Please open another issue if you find this not to be the case.