Merge pull request #35 from rmm5t/kill-global-constants
Removed use of global constants (VERSION and PACKAGE)
This commit is contained in:
commit
87b71cc7c9
1 changed files with 1 additions and 4 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue