write version tag file