]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Ensure packager creates a release folder (#28426)
authorVasilis <vasilis@pikachu.systems>
Sat, 8 Jun 2024 10:33:51 +0000 (13:33 +0300)
committerGitHub <noreply@github.com>
Sat, 8 Jun 2024 10:33:51 +0000 (20:33 +1000)
I was screaming at the github actions runner before i noticed something i had done before caused me to never have a release folder and thus fail.

Content.Packaging/Program.cs

index 65c0e0131a4f55022d58d3da4676553f4324d48a..9457e9dacc9b34a4e6782d6739b6c7f85fe2e141 100644 (file)
@@ -11,6 +11,11 @@ if (!CommandLineArgs.TryParse(args, out var parsed))
 
 if (parsed.WipeRelease)
     WipeRelease();
+else
+{
+    // Ensure the release directory exists. Otherwise, the packaging will fail.
+    Directory.CreateDirectory("release");
+}
 
 if (!parsed.SkipBuild)
     WipeBin();