namespace InnovEnergy.Server.FirmwareCiDaemon; public enum Branch { Release, Develop, Victron, } public static class BranchExtensions { public static String GetName(this Branch branch) => branch switch { Branch.Victron => "venus.victron", Branch.Release => "venus.release", Branch.Develop => "venus", _ => throw new Exception($"Unsupported branch: {branch}") }; }