Removed use of global constants (VERSION and PACKAGE)

Fixes #33
master
Ryan McGeary 2013-08-03 18:05:19 -04:00
parent a5d8d9c4f3
commit 81fd3ad4c5
1 changed files with 1 additions and 4 deletions

View File

@ -3,9 +3,6 @@ require "middleman-core/cli"
require "middleman-deploy/extension"
require "middleman-deploy/pkg-info"
PACKAGE = "#{Middleman::Deploy::PACKAGE}"
VERSION = "#{Middleman::Deploy::VERSION}"
module Middleman
module Cli
@ -178,7 +175,7 @@ EOF
end
`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}`
end
end