Ticket #2106 (closed bug: fixed)
git_describe configuration value not correct
|Reported by:||pmichaud||Owned by:||cotto|
Description (last modified by pmichaud) (diff)
After performing "git pull" and receiving new commits and running "make", the value of "git_describe" reported by parrot_config and "parrot --version" is incorrect. A re-run of Configure.pl is needed to bring the values up to date.
Rakudo solves this problem by calculating the git-describe value at the time Rakudo is built. The larger source has a static .include "src/gen/version.pir" -- the Makefile then generates src/gen/version.pir to contain
.macro_const RAKUDO_VERSION "<git-describe-value>" .macro_const RAKUDO_BUILD_DATE "<rakudo-build-date>"
Hope this helps.