Skip to content

Commit cd5eafd

Browse files
authored
updated release action (#432)
1 parent 6e80117 commit cd5eafd

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

.github/workflows/release.yaml

Lines changed: 10 additions & 8 deletions
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-powerstore'
13-
default: 'csi-powerstore'
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-powerstore'
2224
secrets: inherit

0 commit comments

Comments
 (0)