mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Fix AppVeyor env var value conditions
I assumed that the documented values of `true` and `false` were booleans, not strings.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user