Auto-generated version numbers with TeamCity and Git
Nobody likes boring and repeatable tasks, that's why we want to automate them as much as possible. One of such tasks is maintaining software version numbers. When done manually it's mundane task, often confusing and prone to errors. At the beginning of each project there is always a issue of software version numbers. What version number schema to choose ? How to assign version numbers ? What about snapshots ? Each mature enough project had that issue solved at some point. Sometimes it's manually assigned by development team, sometimes it's managed by the build system, sometimes taking Git commit hash…