Sha256: 073cf5d94c3585f00567cb98d9ce695adbf812dff675de182ee8053023658a9c
Contents?: true
Size: 228 Bytes
Versions: 4
Compression:
Stored size: 228 Bytes
Contents
module Bozo::Hooks class GitCommitHashes def post_dependencies env['GIT_HASH'] = `git log -1 --format="%h"`.strip env['GIT_HASH_FULL'] = `git log -1 --format="%H"`.strip end end end
Version data entries
4 entries across 4 versions & 2 rubygems