diff --git a/scripts/appveyor/build_installer.ps1 b/scripts/appveyor/build_installer.ps1 index 2b40a07a..b3578825 100644 --- a/scripts/appveyor/build_installer.ps1 +++ b/scripts/appveyor/build_installer.ps1 @@ -1,7 +1,7 @@ $innoInstallPath = 'C:\Program Files (x86)\Inno Setup 5' -if ($env:APPVEYOR_REPO_TAG) { +if ($env:APPVEYOR_REPO_TAG -eq 'true') { if (!(Test-Path $innoInstallPath)) { choco install -y InnoSetup diff --git a/scripts/appveyor/deploy_docs.ps1 b/scripts/appveyor/deploy_docs.ps1 index 12b05c39..3aaa8df4 100644 --- a/scripts/appveyor/deploy_docs.ps1 +++ b/scripts/appveyor/deploy_docs.ps1 @@ -19,7 +19,7 @@ $docsFiles = @( $commitMessage = 'Add v' + $env:APPVEYOR_REPO_TAG_NAME + ' release docs' -if ($env:APPVEYOR_REPO_TAG) { +if ($env:APPVEYOR_REPO_TAG -eq 'true') { cd 'C:\projects' git clone $docsRepoUrl