feat(controller): inject tag version value in environment

closes #1489