mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 04:19:08 +08:00
[doVcpkgRelease] ErrorActionPreference = "Stop"
To prevent tags from being created on fail
This commit is contained in:
parent
12d9cba5d8
commit
6b2ac13699
@ -2,7 +2,7 @@
|
||||
param(
|
||||
|
||||
)
|
||||
|
||||
$ErrorActionPreference = "Stop"
|
||||
$version = git show HEAD:toolsrc/VERSION.txt
|
||||
#Remove the quotes from the string
|
||||
$version = $version.Substring(1, $version.length - 2)
|
||||
|
Loading…
Reference in New Issue
Block a user