private static void PrepareReleaseFiles(string ver) { var portable = Path.Combine(InstallerCreator.ResultsFolderPath(), $"QSimPlanner_{ver}_portable.zip"); ZipFile.CreateFromDirectory(OutputFolder, portable); var update = Path.Combine(InstallerCreator.ResultsFolderPath(), $"{ver}.zip"); ZipFile.CreateFromDirectory(Path.Combine(OutputFolder, ver), update); }
public static void BuildAttempt() { var gen = new FileOutputGenerator(); gen.Build(); InstallerCreator.WriteFile(gen.Version); Console.WriteLine(@" ************************ Build completed. ************************"); }
public static void BuildAttempt(bool createAll) { var gen = new FileOutputGenerator(); gen.Build(); if (createAll) { InstallerCreator.WriteFile(gen.Version); PrepareReleaseFiles(gen.Version); } Console.WriteLine(@" ************************ Build completed. ************************"); }