Merge pull request #35 from rmm5t/kill-global-constants

Removed use of global constants (VERSION and PACKAGE)
This commit is contained in:
Tom Vaughan 2013-08-04 06:58:57 -07:00
commit 87b71cc7c9

View file

@ -3,9 +3,6 @@ require "middleman-core/cli"
require "middleman-deploy/extension" require "middleman-deploy/extension"
require "middleman-deploy/pkg-info" require "middleman-deploy/pkg-info"
PACKAGE = "#{Middleman::Deploy::PACKAGE}"
VERSION = "#{Middleman::Deploy::VERSION}"
module Middleman module Middleman
module Cli module Cli
@ -178,7 +175,7 @@ EOF
end end
`git add -A` `git add -A`
`git commit --allow-empty -am 'Automated commit at #{Time.now.utc} by #{PACKAGE} #{VERSION}'` `git commit --allow-empty -am 'Automated commit at #{Time.now.utc} by #{Middleman::Deploy::PACKAGE} #{Middleman::Deploy::VERSION}'`
`git push -f origin #{branch}` `git push -f origin #{branch}`
end end
end end