mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 10:36:54 -07:00
parent
47f66978f0
commit
94c713b3b5
1 changed files with 2 additions and 2 deletions
|
@ -78,9 +78,9 @@ namespace Ombi.Schedule.Processor
|
|||
Downloads = new List<Downloads>()
|
||||
};
|
||||
|
||||
var releaseTag = latestRelease.InnerText.Substring(0, 6);
|
||||
if (masterBranch)
|
||||
{
|
||||
var releaseTag = latestRelease.InnerText.Substring(0, 9);
|
||||
await GetGitubRelease(release, releaseTag);
|
||||
}
|
||||
else
|
||||
|
@ -147,7 +147,7 @@ namespace Ombi.Schedule.Processor
|
|||
var builds = await _api.Request<AppveyorBranchResult>(request);
|
||||
var jobId = builds.build.jobs.FirstOrDefault()?.jobId ?? string.Empty;
|
||||
|
||||
if (builds.build.finished == DateTime.MinValue)
|
||||
if (builds.build.finished == DateTime.MinValue || builds.build.status.Equals("failed"))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue