Skip to content

Commit 2be8240

Browse files
committed
sd
1 parent 282650c commit 2be8240

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.github/workflows/release.yaml

+11-3
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,19 @@ on:
55
workflow_call:
66
workflow_dispatch:
77
inputs:
8-
version:
9-
description: 'Version to release (major, minor, patch) Ex: 1.0.0'
10-
required: true
8+
option:
9+
description: 'Select version to release'
10+
required: true
11+
type: choice
12+
default: 'minor'
13+
options:
14+
- major
15+
- minor
16+
- patch
1117
jobs:
1218
csm-release:
1319
uses: harishp8889/test-common-github-actions/.github/workflows/csm-release-libs.yaml@main
1420
name: Release Go Client Libraries
21+
with:
22+
version: ${{ github.event.inputs.option }}
1523
secrets: inherit

0 commit comments

Comments
 (0)