Ensure packager creates a release folder (#28426)

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.
This commit is contained in:
Vasilis 2024-06-08 13:33:51 +03:00 committed by null
parent 698cde53f0
commit 55f09b8ffa
No known key found for this signature in database
GPG Key ID: 212F05528FD678BE
1 changed files with 5 additions and 0 deletions

View File

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