From b817ee1b82d550bcd0824fd0c5a5196b9a328c52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Dr=C3=A4ger?= Date: Sun, 22 Dec 2024 00:20:35 +0100 Subject: [PATCH] Update test.yml --- .github/workflows/test.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5e00bde..f18e7a2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,6 +20,11 @@ jobs: - { current-version: "1.0.0", version-fragment: "minor", expected-version: "1.1.0" } - { current-version: "1.0.0", version-fragment: "patch", expected-version: "1.0.1" } + - { current-version: "2.11.7", version-fragment: "major", expected-version: "3.0.0" } + - { current-version: "v2.11.7", version-fragment: "major", expected-version: "3.0.0" } + - { current-version: "2.11.7-alpha3", version-fragment: "major", expected-version: "3.0.0" } + - { current-version: "2.11.7-alpha.3", version-fragment: "major", expected-version: "3.0.0" } + # Pre-Version increments from stable - { current-version: "1.0.0", version-fragment: "alpha", expected-version: "1.0.1-alpha.0" } - { current-version: "1.0.0", version-fragment: "beta", expected-version: "1.0.1-beta.0" } @@ -32,16 +37,19 @@ jobs: # Pre-Version increments from existing pre-versions with increment 0 - { current-version: "1.0.1-alpha.0", version-fragment: "alpha", expected-version: "1.0.1-alpha.1" } + - { current-version: "1.0.1-alpha0", version-fragment: "alpha", expected-version: "1.0.1-alpha.1" } - { current-version: "1.0.1-beta.0", version-fragment: "beta", expected-version: "1.0.1-beta.1" } - { current-version: "1.0.1-rc.0", version-fragment: "rc", expected-version: "1.0.1-rc.1" } # Pre-Version increments from existing pre-versions with increment >= 1 - { current-version: "1.0.1-alpha.1", version-fragment: "alpha", expected-version: "1.0.1-alpha.2" } + - { current-version: "1.0.1-alpha2", version-fragment: "alpha", expected-version: "1.0.1-alpha.3" } - { current-version: "1.0.1-beta.2", version-fragment: "beta", expected-version: "1.0.1-beta.3" } - { current-version: "1.0.1-rc.3", version-fragment: "rc", expected-version: "1.0.1-rc.4" } # Transition between different pre-version types - { current-version: "1.0.1-alpha.1", version-fragment: "beta", expected-version: "1.0.1-beta.1" } + - { current-version: "1.0.1-alpha1", version-fragment: "beta", expected-version: "1.0.1-beta.1" } - { current-version: "1.0.1-beta.1", version-fragment: "rc", expected-version: "1.0.1-rc.1" } # Transition from pre-version to stable