mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 07:36:27 -04: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:
parent
1d99ba56fc
commit
bd8c06ddc0
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Reference in a new issue