Skip to content

Commit 5dbef67

Browse files
committed
Adds .zip so that we can bypass the Lidarr...windows.exe file
1 parent 9e7fff5 commit 5dbef67

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

LidarrAPI/Release/AppVeyor/AppVeyorReleaseSource.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,8 @@ protected override async Task DoFetchReleasesAsync()
123123
// Detect target operating system.
124124
OperatingSystem operatingSystem;
125125

126-
if (artifact.FileName.Contains("windows."))
126+
// NB: Added this because our "artifatcs incliude a Lidarr...windows.exe, which really shouldn't be added
127+
if (artifact.FileName.Contains("windows.") && artifact.FileName.ToLower().Contains(".zip"))
127128
{
128129
operatingSystem = OperatingSystem.Windows;
129130
}

0 commit comments

Comments
 (0)