Skip to content

Commit 859c9c0

Browse files
Merge pull request #106 from DuendeSoftware/ev/build-release-from-target-branch-2
fix issue with workflow gen program that version input was missing
2 parents 6b7c27d + 326b29b commit 859c9c0

File tree

5 files changed

+23
-2
lines changed

5 files changed

+23
-2
lines changed

.github/workflow-gen/Program.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,9 @@ void GenerateReleaseWorkflow(Component component)
109109

110110
workflow.On
111111
.WorkflowDispatch()
112-
.Inputs(new StringInput("version", "Version in format X.Y.Z or X.Y.Z-preview.", true, "0.0.0"))
113-
.Inputs(new StringInput("target-branch", "(Optional) the name of the branch to release from", false, "main"));
112+
.Inputs(
113+
new StringInput("version", "Version in format X.Y.Z or X.Y.Z-preview.", true, "0.0.0")
114+
, new StringInput("target-branch", "(Optional) the name of the branch to release from", false, "main"));
114115

115116
workflow.EnvDefaults();
116117

.github/workflows/access-token-management-release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ name: access-token-management/release
44
on:
55
workflow_dispatch:
66
inputs:
7+
version:
8+
description: 'Version in format X.Y.Z or X.Y.Z-preview.'
9+
type: string
10+
required: true
11+
default: '0.0.0'
712
target-branch:
813
description: '(Optional) the name of the branch to release from'
914
type: string

.github/workflows/identity-model-oidc-client-release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ name: identity-model-oidc-client/release
44
on:
55
workflow_dispatch:
66
inputs:
7+
version:
8+
description: 'Version in format X.Y.Z or X.Y.Z-preview.'
9+
type: string
10+
required: true
11+
default: '0.0.0'
712
target-branch:
813
description: '(Optional) the name of the branch to release from'
914
type: string

.github/workflows/identity-model-release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ name: identity-model/release
44
on:
55
workflow_dispatch:
66
inputs:
7+
version:
8+
description: 'Version in format X.Y.Z or X.Y.Z-preview.'
9+
type: string
10+
required: true
11+
default: '0.0.0'
712
target-branch:
813
description: '(Optional) the name of the branch to release from'
914
type: string

.github/workflows/ignore-this-release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ name: ignore-this/release
44
on:
55
workflow_dispatch:
66
inputs:
7+
version:
8+
description: 'Version in format X.Y.Z or X.Y.Z-preview.'
9+
type: string
10+
required: true
11+
default: '0.0.0'
712
target-branch:
813
description: '(Optional) the name of the branch to release from'
914
type: string

0 commit comments

Comments
 (0)