lib/simp/relchecks.rb in simp-rake-helpers-5.7.1 vs lib/simp/relchecks.rb in simp-rake-helpers-5.8.0

- old
+ new

@@ -60,10 +60,11 @@ # significant: # - Any hidden file/directory (entry that begins with a '.') # - Gemfile # - Gemfile.lock # - Rakefile + # - rakelib directory # - spec directory # - doc directory # # +component_dir+:: The root directory of the component project. # +tags_source+:: The remote from which the tags for this project @@ -84,10 +85,10 @@ last_tag = (tags.sort { |a,b| Gem::Version.new(a) <=> Gem::Version.new(b) })[-1] # determine mission-impacting files that have changed files_changed = `git diff tags/#{last_tag} --name-only`.strip.split("\n") files_changed.delete_if do |file| - file[0] == '.' or file == 'Rakefile' or file =~ /^Gemfile|^spec\/|^doc\// + file[0] == '.' or file == 'Rakefile' or file =~ /^Gemfile|^spec\/|^doc\/|^rakelib\// end if files_changed.empty? puts " No new tag required: No significant files have changed since '#{last_tag}' tag" else