lib/vendorificator/environment.rb in vendorificator-0.4.0 vs lib/vendorificator/environment.rb in vendorificator-0.5.git.v0.4.0.17.g26d50d8

- old
+ new

@@ -195,10 +195,10 @@ def metadata_snapshot { :vendorificator_version => ::Vendorificator::VERSION, :current_branch => git.capturing.rev_parse({:abbrev_ref => true}, 'HEAD').strip, :current_sha => git.capturing.rev_parse('HEAD').strip, - :git_describe => (git.capturing.describe.strip rescue '') + :git_describe => (git.capturing.describe(:always => true).strip rescue '') } end # Public: returns `config[:root_dir]` relative to Git repository root def relative_root_dir