mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-24 07:25:20 -05:00
Rename version_bump options to be extra clear
I keep getting slightly confused as to which is which, so make this extra clear. While at it, change the default to minor, this is the option that is more often used now that we don't have regular scheduled releases any more.
This commit is contained in:
@@ -13,10 +13,10 @@ on:
|
||||
description: 'Version bump type'
|
||||
type: choice
|
||||
required: true
|
||||
default: 'patch'
|
||||
default: 'minor (normal)'
|
||||
options:
|
||||
- minor
|
||||
- patch
|
||||
- minor (normal)
|
||||
- patch (hotfix)
|
||||
branch:
|
||||
description: 'Branch to release from'
|
||||
type: string
|
||||
@@ -127,7 +127,7 @@ jobs:
|
||||
IFS='.' read -r major minor patch <<< "$LATEST_TAG"
|
||||
|
||||
if [[ "$EVENT_NAME" == "workflow_dispatch" ]]; then
|
||||
if [[ "$VERSION_BUMP" == "patch" ]]; then
|
||||
if [[ "$VERSION_BUMP" == "patch (hotfix)" ]]; then
|
||||
patch=$((patch + 1))
|
||||
else
|
||||
minor=$((minor + 1))
|
||||
|
||||
Reference in New Issue
Block a user