clang-format-vsix: add a date stamp to the VSIX version number to ensure upgradability
authorAntonio Maiorano <amaiorano@gmail.com>
Fri, 16 Dec 2016 01:37:01 +0000 (01:37 +0000)
committerAntonio Maiorano <amaiorano@gmail.com>
Fri, 16 Dec 2016 01:37:01 +0000 (01:37 +0000)
commit5ccb65f77d4bcbff57cbb4c3678ce5c3f6271cfd
tree931b635608454caa7aa58e50781ddf26e18a8d99
parented4eb86531cece1417e794ee4f9394dbb7243d4e
clang-format-vsix: add a date stamp to the VSIX version number to ensure upgradability

Presently, the version number of the VSIX matches the LLVM version number. However, as this number doesn't change often, it means that as we release new versions of this VSIX, it will have the same version number, which means users must first uninstall the old version before installing the new one. With this change, we generate a 4th part to the version number that is a date stamp (year, month, day); for example: 4.0.0.161203.

Differential Revision: https://reviews.llvm.org/D27438

llvm-svn: 289909
clang/tools/clang-format-vs/CMakeLists.txt