Files
i-buy.properties/expand_date

5 lines
145 B
Plaintext
Raw Normal View History

2017-02-15 01:59:45 -05:00
#! /usr/bin/env ruby
data = STDIN.read
last_date = `git log --pretty=format:"%ad" -1`
puts data.gsub('$Date$', '$Date: ' + last_date.to_s + '$')