We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12c064f commit cc7f672Copy full SHA for cc7f672
build.ps1
@@ -19,6 +19,11 @@ if (Test-Path Env:\APPVEYOR_BUILD_VERSION)
19
$Version = $env:APPVEYOR_BUILD_VERSION
20
}
21
22
+if (Test-Path Env:\APPVEYOR_REPO_TAG)
23
+{
24
+ $Version = "$env:APPVEYOR_REPO_BRANCH".Substring(1) # trim leading "v"
25
+}
26
+
27
# https://github.com/jbake/Powershell_scripts/blob/master/Invoke-BatchFile.ps1
28
function Invoke-BatchFile
29
{
0 commit comments