automatic versioning via git

This commit is contained in:
Devin Howard 2016-09-01 16:14:37 +08:00
parent 8a55491dab
commit 3c8e9d3be2

View file

@ -1,2 +1,2 @@
METAMAPS_VERSION = '2.9.0'.freeze METAMAPS_VERSION = "2 build `git log -1 --pretty=%H`".freeze
METAMAPS_LAST_UPDATED = 'Sept 1, 2016'.freeze METAMAPS_LAST_UPDATED = `git log -1 --pretty='%ad' --date=format:'%b %d, %Y'`.freeze