From 04eb717f730c6e2d00b7c76991fde1fda8b0410c Mon Sep 17 00:00:00 2001 From: Harish P Date: Wed, 5 Feb 2025 16:49:00 +0530 Subject: [PATCH] updated release action --- .github/workflows/release.yaml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index f6524aa..674b397 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -5,18 +5,20 @@ on: # yamllint disable-line rule:truthy workflow_call: workflow_dispatch: inputs: - version: - description: 'Version to release (major, minor, patch), Example: 1.x.x' - required: true - image: - description: 'Image name. Example: cert-csi' - default: 'cert-csi' + option: + description: 'Select version to release' required: true + type: choice + default: 'minor' + options: + - major + - minor + - patch jobs: csm-release: uses: dell/common-github-actions/.github/workflows/csm-release-driver-module.yaml@main name: Release CSM Drivers and Modules with: - version: ${{ github.event.inputs.version }} - image: ${{ github.event.inputs.image }} + version: ${{ github.event.inputs.option }} + images: 'cert-csi' secrets: inherit