rosa-build/lib/deploy_info.rb

15 lines
328 B
Ruby
Raw Normal View History

2014-04-11 21:29:43 +01:00
# This file gets overwritten during deploy process
module DeployInfo
BRANCH=`git rev-parse --abbrev-ref HEAD`.strip
GIT_COMMIT=`git rev-parse HEAD`.strip
BUILD_NUMBER='dev'
BUILD_ID='dev'
DEPLOYER=`git config user.name`.strip
def message
`git log -1 --pretty=medium`.strip
end
module_function :message
end