From c3b0db6130454e5d2291c25b0c00f64f841eeb88 Mon Sep 17 00:00:00 2001 From: Ravindra Marella Date: Sat, 19 Nov 2022 00:29:09 +0530 Subject: [PATCH] Update update.yml --- .github/workflows/update.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 710766c3..55d121bf 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -12,8 +12,12 @@ on: description: Dry Run default: '1' bump: + type: choice description: Bump Version - default: 'patch' + options: + - patch + - minor + - major jobs: update: @@ -32,6 +36,9 @@ jobs: force="${{ github.event.inputs.force }}" dry="${{ github.event.inputs.dry }}" bump="${{ github.event.inputs.bump }}" + if [ "$bump" = "" ]; then + bump="patch" + fi # Check for Updates status=0