Marius Gheorghe

Building software : make it work, make it good, make it fast

Versioning often deployed web apps

1

 

 

Sometimes i deploy Shopkeeper 2-3 times a day. Bringing value to the customer one little step at the time. In this case, obvioulsy, the classic versioning scheme doesn't really works. So, for a deployed version of Shopkeeper, the version is the Mercurial revision id from which it was built.
Here is how this works in practice :


- when i do a deployment build i also generate a file with data about the current revision

- the output is

- and finally displaying the version in the actual customer website: