The templates are processed as part of the UPDATE step in the build but the Assets.cache.version value is set by default in a macro during the BUILD step after update is already completed
You can use -Dlime-assets-version=123 to force Assets.cache.version to a new value and ::DEFINE_LIME_ASSETS_VERSION:: in the template HTML I think
