script: Tag releases before building VM images

Half of #591.