billw2015
King
- Joined
- Jun 22, 2015
- Messages
- 837
As you maybe noticed I added automatic changelog generation for the SVN commits.
To help with this I have added a system that can improve these logs if we follow some simple rules in our commit messages.
If you want your commit to appear in a particular section of the generated log then you should use this format:
section should be one of these (we can add more if we want):
Some examples should clarify:
These will show up something like:
v40.0.400-alpha - 2019-09-08
Also as you can imagine when it comes to making a major release like v40 this is going to make it a lot easier (not that we shouldn't also manually tweak the changelog for a full release, but this will help a lot)!
You can change commit messages on commits you have not yet pushed to github (in GK just select the commit and click on the message), but after they go to github changing them is quite difficult.
To help with this I have added a system that can improve these logs if we follow some simple rules in our commit messages.
If you want your commit to appear in a particular section of the generated log then you should use this format:
section(scope): message
section should be one of these (we can add more if we want):
- feat - a new feature
- fix - a fix for a bug
- balance - balance changes
- perf - performance improvements
Some examples should clarify:
feat(Units): Added new crossbow wielding ninja stealth unit
feat(Buildings): Added missing building descriptions
feat: Added new production popup
fix(Events): Tornadoes no longer spawn in space
balance(Buildings): Pharmacy gold generation more inline with the buildings it replaces
perf: AI building evaluation optimized
Improved changelog generation
These will show up something like:
v40.0.400-alpha - 2019-09-08
Features
Following this pattern isn't required to get your message into the change log, as you can see there is the All Changes section listing everything. It DOES however make it a lot easier for players to see if bugs etc. that they are interested in are fixed, what game play changes to expect etc.- Units: Added new crossbow wielding ninja stealth unit
- Buildings: Removed obsolete building texts
- Added new production popup
- Events: Tornadoes no longer spawn in space
- Buildings: Pharmacy gold generation more inline with the buildings it replaces
- AI building evaluation optimized
- feat(Units): Added new crossbow wielding ninja stealth unit
- feat(Buildings): Removed obsolete building texts
- feat: Added new production popup
- fix(Events): Tornadoes no longer spawn in space
- balance(Buildings): Pharmacy gold generation more inline with the buildings it replaces
- perf: AI building evaluation optimized
- Improved changelog generation
Also as you can imagine when it comes to making a major release like v40 this is going to make it a lot easier (not that we shouldn't also manually tweak the changelog for a full release, but this will help a lot)!
You can change commit messages on commits you have not yet pushed to github (in GK just select the commit and click on the message), but after they go to github changing them is quite difficult.
Last edited: