Sha256: 920686e44230bc962f8afd158dfbf153eb98c72ea9d46b00f7fe619a4dc9b871
Contents?: true
Size: 332 Bytes
Versions: 21
Compression:
Stored size: 332 Bytes
Contents
module LogCabin module Modules ## # Pull state from a git tag module GitTag include Prospectus.helpers.find(:regex) def load! tag = `git describe --tags --abbrev=0 2>/dev/null`.chomp raise('No tags found') if tag.empty? @state.value = regex_helper(tag) end end end end
Version data entries
21 entries across 21 versions & 1 rubygems