diff --git a/.travis.yml b/.travis.yml index cf085fc..c17e5d4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,16 +1,22 @@ sudo: false language: ruby -before_install: -- gem update --system -- gem install bundler +before_install: + - gem update --system + - gem install bundler rvm: -- 2.1.0 -script: -- bundle exec rake checks + - 2.1.0 +script: bundle exec rake checks +matrix: + include: + # Test install on clean system + - install: true + script: + - gem build github_changelog_generator + - gem install *.gem notifications: email: recipients: - - sky4winder+githubchangeloggenerator@gmail.com + - sky4winder+githubchangeloggenerator@gmail.com on_success: never on_failure: change addons: diff --git a/CHANGELOG.md b/CHANGELOG.md index b515af3..35c67a4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Change Log +## [1.11.5](https://github.com/skywinder/github-changelog-generator/tree/1.11.5) (2016-03-01) +[Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.11.4...1.11.5) + +**Merged pull requests:** + +- Test clean install in Travis [\#344](https://github.com/skywinder/github-changelog-generator/pull/344) ([jkeiser](https://github.com/jkeiser)) +- Update Rakefile to avoid install-breaking bug [\#341](https://github.com/skywinder/github-changelog-generator/pull/341) ([olleolleolle](https://github.com/olleolleolle)) + ## [1.11.4](https://github.com/skywinder/github-changelog-generator/tree/1.11.4) (2016-02-26) [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.11.3...1.11.4) diff --git a/Gemfile.lock b/Gemfile.lock index 4f7d20b..6a3e7df 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - github_changelog_generator (1.11.4) + github_changelog_generator (1.11.5) bundler (>= 1.7) colorize (~> 0.7) github_api (~> 0.12) diff --git a/Rakefile b/Rakefile index 90a7c1c..2249f8b 100644 --- a/Rakefile +++ b/Rakefile @@ -16,14 +16,14 @@ task :copy_man_page_to_manpath do |_t| path.file? && path.readable? end - return unless manpath + next unless manpath writable_man_path = Pathname(manpath).each_line.find do |line| path = Pathname(line.chomp) path.directory? && path.writable? end - return unless writable_man_path + next unless writable_man_path man_prefix = Pathname("#{writable_man_path.chomp}/man1") man_pages = "man/git-*.1"