Skip to content

Commit 143ac57

Browse files
authored
Merge pull request #77 from IShix-g/release
feat: add support for custom builds path in package export
2 parents ccb94e7 + 4369f7c commit 143ac57

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Assets/Editor/PackageExporter.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ public sealed class PackageExporter
1919
public static void Export()
2020
{
2121
var options = ArgumentsParser.GetValidatedOptions();
22-
var exportPath = "./" + ToExportPath(_exportPath, options.GetValueOrDefault("tag"));
22+
var buildPath = options.GetValueOrDefault("buildsPath").TrimEnd('/');
23+
var exportPath = "./" + (!string.IsNullOrEmpty(buildPath) ? buildPath + "/" : "") + ToExportPath(_exportPath, options.GetValueOrDefault("tag"));
2324
Export(_folderPath, exportPath);
2425
}
2526

0 commit comments

Comments
 (0)