lib/docman/deployers/git_deployer.rb in docman-0.0.85 vs lib/docman/deployers/git_deployer.rb in docman-0.0.86
- old
+ new
@@ -21,11 +21,11 @@
File.open(filepath, 'w') {|f| f.write("tag=#{version}") }
tag = version
end
- GitUtil.commit(root['full_build_path'], root['full_build_path'], 'Updated version', tag)
- GitUtil.squash_commits(Docman::Application.instance.commit_count)
+ GitUtil.commit(root['full_build_path'], root['full_build_path'], 'Updated version')
+ GitUtil.squash_commits(Docman::Application.instance.commit_count, nil, tag)
GitUtil.push(root['full_build_path'], root.version(type: 'root'))
end
end
end