Skip to content

Commit 5dca694

Browse files
committed
fix(installer): always declare defines
1 parent 2310276 commit 5dca694

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.CI/build-installer.ps1

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,17 @@ if (-not (Test-Path -PathType Container Chatterino2)) {
33
exit 1
44
}
55

6+
Set-PSDebug -Trace 2
7+
8+
69
# Check if we're on a tag
710
$OldErrorActionPref = $ErrorActionPreference;
811
$ErrorActionPreference = 'Continue';
912
git describe --exact-match --match 'v*' *> $null;
1013
$isTagged = $?;
1114
$ErrorActionPreference = $OldErrorActionPref;
1215

13-
$defines = $null;
16+
$defines = "";
1417
if ($isTagged) {
1518
# This is a release.
1619
# Make sure, any existing `modes` file is overwritten for the user,

0 commit comments

Comments
 (0)