We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2310276 commit 5dca694Copy full SHA for 5dca694
.CI/build-installer.ps1
@@ -3,14 +3,17 @@ if (-not (Test-Path -PathType Container Chatterino2)) {
3
exit 1
4
}
5
6
+Set-PSDebug -Trace 2
7
+
8
9
# Check if we're on a tag
10
$OldErrorActionPref = $ErrorActionPreference;
11
$ErrorActionPreference = 'Continue';
12
git describe --exact-match --match 'v*' *> $null;
13
$isTagged = $?;
14
$ErrorActionPreference = $OldErrorActionPref;
15
-$defines = $null;
16
+$defines = "";
17
if ($isTagged) {
18
# This is a release.
19
# Make sure, any existing `modes` file is overwritten for the user,
0 commit comments