Sort stages by priority
parent
65d64c2484
commit
353397e523
|
@ -2,6 +2,7 @@ using System;
|
|||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
using ln.build.commands;
|
||||
using ln.build.semver;
|
||||
using ln.json;
|
||||
|
@ -78,6 +79,8 @@ namespace ln.build.pipeline
|
|||
|
||||
public void Run()
|
||||
{
|
||||
stages.Sort((a,b)=>a.Priority-b.Priority);
|
||||
|
||||
foreach (Stage stage in stages)
|
||||
{
|
||||
CommandEnvironment.Logger.Log(LogLevel.INFO,"-------------------------------------------------------------------------------------");
|
||||
|
|
Loading…
Reference in New Issue