metamaps--metamaps/config/initializers/version.rb
2016-11-01 16:06:05 +08:00

4 lines
218 B
Ruby

# frozen_string_literal: true
METAMAPS_VERSION = '3.0.1'
METAMAPS_BUILD = `git log -1 --pretty=%H`.chomp[0..11].freeze
METAMAPS_LAST_UPDATED = `git log -1 --pretty='%ad'`.split(' ').values_at(1, 2, 4).join(' ').freeze