diff --git a/pkg/api/ui/dist/core-build.js b/pkg/api/ui/dist/core-build.js index e088942..52144cf 100644 --- a/pkg/api/ui/dist/core-build.js +++ b/pkg/api/ui/dist/core-build.js @@ -1253,7 +1253,7 @@ let g = class extends k { this.generatingWorkflow = !0, this.error = "", this.workflowSuccess = ""; try { const s = {}, e = this.workflowPath.trim(), t = this.workflowOutputPath.trim(); - e && (s.path = e), t && (s.outputPath = t); + e && (s.path = e), t && (s.outputPath = t), t && (s.output_path = t, s.output = t, s.workflowOutputPath = t, s.workflow_output_path = t); const i = (await this.api.releaseWorkflow(s)).path ?? t ?? e ?? ".github/workflows/release.yml"; this.workflowSuccess = `Workflow generated at ${i}`; } catch (s) { diff --git a/ui/src/build-release.ts b/ui/src/build-release.ts index 6f47476..0273ed3 100644 --- a/ui/src/build-release.ts +++ b/ui/src/build-release.ts @@ -320,11 +320,21 @@ export class BuildRelease extends LitElement { const request: { path?: string; outputPath?: string; + output_path?: string; + output?: string; + workflowOutputPath?: string; + workflow_output_path?: string; } = {}; const path = this.workflowPath.trim(); const outputPath = this.workflowOutputPath.trim(); if (path) request.path = path; if (outputPath) request.outputPath = outputPath; + if (outputPath) { + request.output_path = outputPath; + request.output = outputPath; + request.workflowOutputPath = outputPath; + request.workflow_output_path = outputPath; + } const result = await this.api.releaseWorkflow(request); const generatedPath = result.path ?? outputPath ?? path ?? '.github/workflows/release.yml';