aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2016-10-05 17:20:45 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2016-10-05 17:20:45 -0700
commit6b2ac13699eb03a61d3e12bb4114814afc0a793e (patch)
tree7f9cd174a932f49398f5a3adecf62ad18f839332 /scripts
parent12d9cba5d8d4db546a979c1e58cacbc0c79d7953 (diff)
downloadvcpkg-6b2ac13699eb03a61d3e12bb4114814afc0a793e.tar.gz
vcpkg-6b2ac13699eb03a61d3e12bb4114814afc0a793e.zip
[doVcpkgRelease] ErrorActionPreference = "Stop"
To prevent tags from being created on fail
Diffstat (limited to 'scripts')
-rw-r--r--scripts/doVcpkgRelease.ps12
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/doVcpkgRelease.ps1 b/scripts/doVcpkgRelease.ps1
index 3b3021286..b261e8e24 100644
--- a/scripts/doVcpkgRelease.ps1
+++ b/scripts/doVcpkgRelease.ps1
@@ -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)