lib/docman/deployers/git_deployer.rb in docman-0.0.69 vs lib/docman/deployers/git_deployer.rb in docman-0.0.70
- old
+ new
@@ -22,10 +22,11 @@
tag = version
end
GitUtil.commit(root['full_build_path'], root['full_build_path'], 'Updated version', tag)
- GitUtil.push(root['full_build_path'], root.version)
+ GitUtil.squash_commits(Docman::Application.instance.commit_count)
+ GitUtil.push(root['full_build_path'], root.version(type: 'root'))
end
end
end
end