Skip to content

Commit

Permalink
fix bump_file file detection
Browse files Browse the repository at this point in the history
  • Loading branch information
cldwalker committed Apr 6, 2012
1 parent 4aae2c7 commit b8f2db2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boson/commands/public/release.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def bump(options={})
end

def bump_file(options)
version_file = options[:file] || Dir['**/version.rb'][0] ||
version_file = options[:file] || Dir['lib/**/version.rb'][0] ||
Dir['lib/**/*.rb'][0] || raise("No version file found")
version_string = File.read(version_file)
new_version = nil
Expand Down

0 comments on commit b8f2db2

Please sign in to comment.