Open mojavelinux opened 9 years ago
If the commit is empty (because there were no changes to the published files), it would be nice if there were a way to skip the commit. Currently, it's pushing an empty commit.
run_or_fail("git commit --allow-empty -am \"#{message}\"")
Perhaps an option like allow_empty_commit:
allow_empty_commit
activate :deploy do |deploy| deploy.deploy_method = :git deploy.allow_empty_commit = false end
If the commit is empty (because there were no changes to the published files), it would be nice if there were a way to skip the commit. Currently, it's pushing an empty commit.
Perhaps an option like
allow_empty_commit
: