简体   繁体   中英

Visual studio Online build services, git tag

I'm trying to get VSO build services to tag the build number into git upon a successful build.

Any ideas on how I'd achieve this?

Create a post or pre build script that does the tag.

You should be using the *template.12.xaml that includes pre setup places to run batch or PowerShell scripts.

You can run scripts pre and post build ad well as pre and post test.

If you only want to tag on a successful build you can use post-test as the best place.

如果git托管在vsts上,那么这现在可以作为构建过程的一部分。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM