We have to go through some pretty scary gyrations to extract this information from git, but it can be done. This works with both tarballs generated by 'git archive', or with your local git repo. (Requested by 'David' on the mailing list.)
3 lines
108 B
Text
3 lines
108 B
Text
redo-ifchange ../version/vars $1.md
|
|
. ../version/vars
|
|
sed -e "s/%VERSION%/$TAG/" -e "s/%DATE%/$DATE/" $1.md
|