Skip to content

Commit 71997a9

Browse files
Updated release action (#103)
Co-authored-by: Surya Gupta <109594002+suryagupta4@users.noreply.github.com>
1 parent 4057b94 commit 71997a9

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

.github/workflows/release.yaml

+10-8
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,20 @@ on: # yamllint disable-line rule:truthy
55
workflow_call:
66
workflow_dispatch:
77
inputs:
8-
version:
9-
description: 'Version to release (major, minor, patch), Example: 1.x.x'
10-
required: true
11-
image:
12-
description: 'Image name. Example: csi-metadata-retriever'
13-
default: 'csi-metadata-retriever'
8+
option:
9+
description: 'Select version to release'
1410
required: true
11+
type: choice
12+
default: 'minor'
13+
options:
14+
- major
15+
- minor
16+
- patch
1517
jobs:
1618
csm-release:
1719
uses: dell/common-github-actions/.github/workflows/csm-release-driver-module.yaml@main
1820
name: Release CSM Drivers and Modules
1921
with:
20-
version: ${{ github.event.inputs.version }}
21-
image: ${{ github.event.inputs.image }}
22+
version: ${{ github.event.inputs.option }}
23+
images: 'csi-metadata-retriever'
2224
secrets: inherit

0 commit comments

Comments
 (0)