mirror of
https://github.com/mue/mue.git
synced 2026-07-12 19:52:53 +02:00
Merge branch 'beta' into dev
Signed-off-by: Alex Sparkes <alexsparkes@gmail.com>
This commit is contained in:
12
.github/workflows/version-bump.yml
vendored
12
.github/workflows/version-bump.yml
vendored
@@ -8,9 +8,9 @@ on:
|
||||
required: true
|
||||
type: choice
|
||||
options:
|
||||
- patch # 7.6.0 -> 7.5.1 (bug fixes)
|
||||
- minor # 7.6.0 -> 7.6.0 (new features)
|
||||
- major # 7.6.0 -> 8.0.0 (breaking changes)
|
||||
- patch # 7.5.0 -> 7.5.1 (bug fixes)
|
||||
- minor # 7.5.0 -> 7.6.0 (new features)
|
||||
- major # 7.5.0 -> 8.0.0 (breaking changes)
|
||||
pre_release:
|
||||
description: 'Pre-release label (leave empty for stable release)'
|
||||
required: false
|
||||
@@ -54,12 +54,6 @@ jobs:
|
||||
BASE_VERSION=$(echo $CURRENT_VERSION | sed 's/-.*$//')
|
||||
IFS='.' read -r -a VERSION_PARTS <<< "$BASE_VERSION"
|
||||
|
||||
# Detect if current version is already a pre-release
|
||||
IS_PRERELEASE=false
|
||||
case "$CURRENT_VERSION" in
|
||||
*-*) IS_PRERELEASE=true ;;
|
||||
esac
|
||||
|
||||
MAJOR="${VERSION_PARTS[0]}"
|
||||
MINOR="${VERSION_PARTS[1]}"
|
||||
PATCH="${VERSION_PARTS[2]}"
|
||||
|
||||
Reference in New Issue
Block a user