Skip to content

Commit 22a2490

Browse files
committed
Fixed ci/appveyor/prepare_github_deploy.ps1 for properly detecting "prerelease" branches.
1 parent e5a9ce9 commit 22a2490

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/appveyor/prepare_github_deploy.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
Write-Output "Running prepare_github_deploy.ps1..."
1515
Write-Output "Current branch: $env:APPVEYOR_REPO_BRANCH"
1616
Write-Output "Current build version: $env:APPVEYOR_BUILD_VERSION"
17-
If ("$env:APPVEYOR_REPO_BRANCH" -contains "prerelease") {
17+
If ("$env:APPVEYOR_REPO_BRANCH".contains("prerelease")) {
1818
Write-Output "Tagging each commits with a unique version..."
1919
Write-Output "Deploying each commits to GitHub..."
2020

0 commit comments

Comments
 (0)