![]() |
#11 |
Veteran
Join Date: Apr 2007
Posts: 1,950
Donated: $40
![]() |
The edit files used to have a version number in them but I removed them. I think they're a bad idea, because it's yet another place to update the version number when a new release happens especially now there's so many edit files.
__________________
takkaria whispers something about options. -more- |
![]() |
![]() |
![]() |
#12 |
Swordsman
Join Date: Dec 2007
Posts: 299
![]() |
With the makefile + sed (or awk or any number of other tools), this update can be automated. I'd pull the version number from the git metadata and write it into the appropriate files as part of the build process. If you want to avoid shipping git metadata with official releases (sensible enough), then you have a rule to build the release distribution that queries git and does the file update(s) before the code ever goes to the consumers. It may be that git contains some methods to do this automatically when you check out; CVS did, back in the day (or maybe I'm thinking of perforce...?).
|
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Is this 'Slow Monster probability' spoiler correct? | Patashu | Vanilla | 1 | July 29, 2012 16:45 |
Borg page is back up | APWhite | Development | 19 | December 6, 2010 22:03 |
Ladder summary page | Pete Mack | Oook! | 11 | January 11, 2010 20:01 |
How to compile Angband page | PaulBlay | Oook! | 2 | February 20, 2009 13:51 |
The Download page needs to be updated | CJNyfalt | Oook! | 3 | May 15, 2007 10:21 |