|
|
|
|
|
by zbuf
1482 days ago
|
|
Yes, having a version number centralised in source code is exactly the thing Git helped us many times to avoid. Also ties in with the author's recommendation to begin tags with "v". My experience is that excluding it is better. Then a simple "git describe" readily gives the version number in scripts with no sed or reprocessing. I've seen many conventions with Git. It's interesting to hear some rationale, but a stretch to describe these suggestions as the "proper" way. |
|