From 6d9d54a03eb9e01d7a8f729f5e91854dec0aa48c Mon Sep 17 00:00:00 2001 From: bennetrr Date: Tue, 16 Apr 2024 10:21:34 +0200 Subject: [PATCH] tests: set only_bump_suffix to true in beta/prod branches --- tests/e2e/test_one_commit.py | 10 ++++ tests/e2e/test_one_hotfix.py | 6 +++ tests/e2e/test_one_hotfix_then_version.py | 12 +++++ tests/e2e/test_two_commits.py | 32 ++++++++++++ tests/e2e/test_two_hotfixes.py | 6 +++ tests/e2e/test_two_versions.py | 64 +++++++++++++++++++++++ 6 files changed, 130 insertions(+) diff --git a/tests/e2e/test_one_commit.py b/tests/e2e/test_one_commit.py index 706e70b..6496ce6 100644 --- a/tests/e2e/test_one_commit.py +++ b/tests/e2e/test_one_commit.py @@ -41,6 +41,7 @@ def test_initial(self) -> None: args_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -56,6 +57,7 @@ def test_initial(self) -> None: args_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True ) @@ -112,6 +114,7 @@ def test_chore(self) -> None: args_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -127,6 +130,7 @@ def test_chore(self) -> None: args_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True ) @@ -185,6 +189,7 @@ def test_fix(self) -> None: args_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -200,6 +205,7 @@ def test_fix(self) -> None: args_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True ) @@ -258,6 +264,7 @@ def test_feat(self) -> None: args_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -273,6 +280,7 @@ def test_feat(self) -> None: args_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True ) @@ -331,6 +339,7 @@ def test_breaking(self) -> None: args_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -346,6 +355,7 @@ def test_breaking(self) -> None: args_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True ) diff --git a/tests/e2e/test_one_hotfix.py b/tests/e2e/test_one_hotfix.py index f26165c..4843c07 100644 --- a/tests/e2e/test_one_hotfix.py +++ b/tests/e2e/test_one_hotfix.py @@ -42,6 +42,7 @@ def test_fix_then_hotfix(self) -> None: args_fix_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -57,6 +58,7 @@ def test_fix_then_hotfix(self) -> None: args_fix_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True ) @@ -196,6 +198,7 @@ def test_feature_then_hotfix(self) -> None: args_feat_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -211,6 +214,7 @@ def test_feature_then_hotfix(self) -> None: args_feat_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True ) @@ -350,6 +354,7 @@ def test_breaking_then_hotfix(self) -> None: args_breaking_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -365,6 +370,7 @@ def test_breaking_then_hotfix(self) -> None: args_breaking_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True ) diff --git a/tests/e2e/test_one_hotfix_then_version.py b/tests/e2e/test_one_hotfix_then_version.py index 5ccf3bd..828cc66 100644 --- a/tests/e2e/test_one_hotfix_then_version.py +++ b/tests/e2e/test_one_hotfix_then_version.py @@ -42,6 +42,7 @@ def test_fix_then_hotfix_then_fix(self) -> None: args_fix1_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -57,6 +58,7 @@ def test_fix_then_hotfix_then_fix(self) -> None: args_fix1_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True ) @@ -140,6 +142,7 @@ def test_fix_then_hotfix_then_fix(self) -> None: args_fix2_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -155,6 +158,7 @@ def test_fix_then_hotfix_then_fix(self) -> None: args_fix2_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True ) @@ -267,6 +271,7 @@ def test_fix_then_hotfix_then_feature(self) -> None: args_fix_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -282,6 +287,7 @@ def test_fix_then_hotfix_then_feature(self) -> None: args_fix_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True ) @@ -365,6 +371,7 @@ def test_fix_then_hotfix_then_feature(self) -> None: args_feature_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -380,6 +387,7 @@ def test_fix_then_hotfix_then_feature(self) -> None: args_feature_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True ) @@ -492,6 +500,7 @@ def test_fix_then_hotfix_then_breaking(self) -> None: args_fix_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -507,6 +516,7 @@ def test_fix_then_hotfix_then_breaking(self) -> None: args_fix_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True ) @@ -590,6 +600,7 @@ def test_fix_then_hotfix_then_breaking(self) -> None: args_breaking_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -605,6 +616,7 @@ def test_fix_then_hotfix_then_breaking(self) -> None: args_breaking_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True ) diff --git a/tests/e2e/test_two_commits.py b/tests/e2e/test_two_commits.py index ed21949..ff82c24 100644 --- a/tests/e2e/test_two_commits.py +++ b/tests/e2e/test_two_commits.py @@ -41,6 +41,7 @@ def test_chore_then_chore(self) -> None: args_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -56,6 +57,7 @@ def test_chore_then_chore(self) -> None: args_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True ) @@ -115,6 +117,7 @@ def test_chore_then_fix(self) -> None: args_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -130,6 +133,7 @@ def test_chore_then_fix(self) -> None: args_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True ) @@ -189,6 +193,7 @@ def test_chore_then_feat(self) -> None: args_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -204,6 +209,7 @@ def test_chore_then_feat(self) -> None: args_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True ) @@ -263,6 +269,7 @@ def test_chore_then_breaking(self) -> None: args_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -278,6 +285,7 @@ def test_chore_then_breaking(self) -> None: args_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True ) @@ -337,6 +345,7 @@ def test_fix_then_chore(self) -> None: args_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -352,6 +361,7 @@ def test_fix_then_chore(self) -> None: args_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True ) @@ -411,6 +421,7 @@ def test_fix_then_fix(self) -> None: args_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -426,6 +437,7 @@ def test_fix_then_fix(self) -> None: args_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True ) @@ -484,6 +496,7 @@ def test_fix_then_feat(self) -> None: args_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -499,6 +512,7 @@ def test_fix_then_feat(self) -> None: args_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True ) @@ -558,6 +572,7 @@ def test_fix_then_breaking(self) -> None: args_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -573,6 +588,7 @@ def test_fix_then_breaking(self) -> None: args_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True ) @@ -632,6 +648,7 @@ def test_feat_then_chore(self) -> None: args_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -647,6 +664,7 @@ def test_feat_then_chore(self) -> None: args_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True ) @@ -706,6 +724,7 @@ def test_feat_then_fix(self) -> None: args_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -721,6 +740,7 @@ def test_feat_then_fix(self) -> None: args_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True ) @@ -779,6 +799,7 @@ def test_feat_then_feat(self) -> None: args_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -794,6 +815,7 @@ def test_feat_then_feat(self) -> None: args_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True ) @@ -853,6 +875,7 @@ def test_feat_then_breaking(self) -> None: args_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -868,6 +891,7 @@ def test_feat_then_breaking(self) -> None: args_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True ) @@ -927,6 +951,7 @@ def test_breaking_then_chore(self) -> None: args_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -942,6 +967,7 @@ def test_breaking_then_chore(self) -> None: args_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True ) @@ -1001,6 +1027,7 @@ def test_breaking_then_fix(self) -> None: args_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -1016,6 +1043,7 @@ def test_breaking_then_fix(self) -> None: args_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True ) @@ -1074,6 +1102,7 @@ def test_breaking_then_feat(self) -> None: args_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -1089,6 +1118,7 @@ def test_breaking_then_feat(self) -> None: args_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True ) @@ -1148,6 +1178,7 @@ def test_breaking_then_breaking(self) -> None: args_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -1163,6 +1194,7 @@ def test_breaking_then_breaking(self) -> None: args_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True ) diff --git a/tests/e2e/test_two_hotfixes.py b/tests/e2e/test_two_hotfixes.py index 878539b..2ebc637 100644 --- a/tests/e2e/test_two_hotfixes.py +++ b/tests/e2e/test_two_hotfixes.py @@ -42,6 +42,7 @@ def test_fix_then_hotfixes(self) -> None: args_fix_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -57,6 +58,7 @@ def test_fix_then_hotfixes(self) -> None: args_fix_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True ) @@ -274,6 +276,7 @@ def test_feat_then_hotfixes(self) -> None: args_feat_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -289,6 +292,7 @@ def test_feat_then_hotfixes(self) -> None: args_feat_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True ) @@ -506,6 +510,7 @@ def test_breaking_then_hotfixes(self) -> None: args_breaking_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -521,6 +526,7 @@ def test_breaking_then_hotfixes(self) -> None: args_breaking_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True ) diff --git a/tests/e2e/test_two_versions.py b/tests/e2e/test_two_versions.py index 4697e2a..ac5913a 100644 --- a/tests/e2e/test_two_versions.py +++ b/tests/e2e/test_two_versions.py @@ -42,6 +42,7 @@ def test_chore_then_chore(self) -> None: args_chore1_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -57,6 +58,7 @@ def test_chore_then_chore(self) -> None: args_chore1_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True ) @@ -88,6 +90,7 @@ def test_chore_then_chore(self) -> None: args_chore2_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -103,6 +106,7 @@ def test_chore_then_chore(self) -> None: args_chore2_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True ) @@ -189,6 +193,7 @@ def test_chore_then_fix(self) -> None: args_chore_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -204,6 +209,7 @@ def test_chore_then_fix(self) -> None: args_chore_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True ) @@ -235,6 +241,7 @@ def test_chore_then_fix(self) -> None: args_fix_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -250,6 +257,7 @@ def test_chore_then_fix(self) -> None: args_fix_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True ) @@ -337,6 +345,7 @@ def test_chore_then_feat(self) -> None: args_chore_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -352,6 +361,7 @@ def test_chore_then_feat(self) -> None: args_chore_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True ) @@ -383,6 +393,7 @@ def test_chore_then_feat(self) -> None: args_feat_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -398,6 +409,7 @@ def test_chore_then_feat(self) -> None: args_feat_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True ) @@ -485,6 +497,7 @@ def test_chore_then_breaking(self) -> None: args_chore_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -500,6 +513,7 @@ def test_chore_then_breaking(self) -> None: args_chore_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True ) @@ -531,6 +545,7 @@ def test_chore_then_breaking(self) -> None: args_breaking_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -546,6 +561,7 @@ def test_chore_then_breaking(self) -> None: args_breaking_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True ) @@ -633,6 +649,7 @@ def test_fix_then_chore(self) -> None: args_fix_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -648,6 +665,7 @@ def test_fix_then_chore(self) -> None: args_fix_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True ) @@ -679,6 +697,7 @@ def test_fix_then_chore(self) -> None: args_chore_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -694,6 +713,7 @@ def test_fix_then_chore(self) -> None: args_chore_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True ) @@ -781,6 +801,7 @@ def test_fix_then_fix(self) -> None: args_fix1_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -796,6 +817,7 @@ def test_fix_then_fix(self) -> None: args_fix1_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True ) @@ -827,6 +849,7 @@ def test_fix_then_fix(self) -> None: args_fix2_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -842,6 +865,7 @@ def test_fix_then_fix(self) -> None: args_fix2_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True ) @@ -929,6 +953,7 @@ def test_fix_then_feat(self) -> None: args_fix_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -944,6 +969,7 @@ def test_fix_then_feat(self) -> None: args_fix_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True ) @@ -975,6 +1001,7 @@ def test_fix_then_feat(self) -> None: args_feat_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -990,6 +1017,7 @@ def test_fix_then_feat(self) -> None: args_feat_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True ) @@ -1077,6 +1105,7 @@ def test_fix_then_breaking(self) -> None: args_fix_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -1092,6 +1121,7 @@ def test_fix_then_breaking(self) -> None: args_fix_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True ) @@ -1123,6 +1153,7 @@ def test_fix_then_breaking(self) -> None: args_breaking_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -1138,6 +1169,7 @@ def test_fix_then_breaking(self) -> None: args_breaking_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True ) @@ -1225,6 +1257,7 @@ def test_feat_then_chore(self) -> None: args_feat_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -1240,6 +1273,7 @@ def test_feat_then_chore(self) -> None: args_feat_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True ) @@ -1271,6 +1305,7 @@ def test_feat_then_chore(self) -> None: args_chore_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -1286,6 +1321,7 @@ def test_feat_then_chore(self) -> None: args_chore_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True ) @@ -1373,6 +1409,7 @@ def test_feat_then_fix(self) -> None: args_feat_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -1388,6 +1425,7 @@ def test_feat_then_fix(self) -> None: args_feat_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True ) @@ -1419,6 +1457,7 @@ def test_feat_then_fix(self) -> None: args_fix_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -1434,6 +1473,7 @@ def test_feat_then_fix(self) -> None: args_fix_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True ) @@ -1521,6 +1561,7 @@ def test_feat_then_feat(self) -> None: args_feat1_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -1536,6 +1577,7 @@ def test_feat_then_feat(self) -> None: args_feat1_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True ) @@ -1567,6 +1609,7 @@ def test_feat_then_feat(self) -> None: args_feat2_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -1582,6 +1625,7 @@ def test_feat_then_feat(self) -> None: args_feat2_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True, ) @@ -1669,6 +1713,7 @@ def test_feat_then_breaking(self) -> None: args_feat_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -1684,6 +1729,7 @@ def test_feat_then_breaking(self) -> None: args_feat_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True ) @@ -1715,6 +1761,7 @@ def test_feat_then_breaking(self) -> None: args_breaking_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -1730,6 +1777,7 @@ def test_feat_then_breaking(self) -> None: args_breaking_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True ) @@ -1817,6 +1865,7 @@ def test_breaking_then_chore(self) -> None: args_breaking_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -1832,6 +1881,7 @@ def test_breaking_then_chore(self) -> None: args_breaking_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True ) @@ -1863,6 +1913,7 @@ def test_breaking_then_chore(self) -> None: args_chore_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -1878,6 +1929,7 @@ def test_breaking_then_chore(self) -> None: args_chore_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True ) @@ -1965,6 +2017,7 @@ def test_breaking_then_fix(self) -> None: args_breaking_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -1980,6 +2033,7 @@ def test_breaking_then_fix(self) -> None: args_breaking_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True ) @@ -2011,6 +2065,7 @@ def test_breaking_then_fix(self) -> None: args_fix_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -2026,6 +2081,7 @@ def test_breaking_then_fix(self) -> None: args_fix_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True ) @@ -2113,6 +2169,7 @@ def test_breaking_then_feat(self) -> None: args_breaking_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -2128,6 +2185,7 @@ def test_breaking_then_feat(self) -> None: args_breaking_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True ) @@ -2159,6 +2217,7 @@ def test_breaking_then_feat(self) -> None: args_feat_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -2174,6 +2233,7 @@ def test_breaking_then_feat(self) -> None: args_feat_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True ) @@ -2261,6 +2321,7 @@ def test_breaking_then_breaking(self) -> None: args_breaking1_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -2276,6 +2337,7 @@ def test_breaking_then_breaking(self) -> None: args_breaking1_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True ) @@ -2307,6 +2369,7 @@ def test_breaking_then_breaking(self) -> None: args_breaking2_beta = ActionInputs( prefix='v', suffix='beta', + only_bump_suffix=True, reference_version_suffix='pre', create_tag=True ) @@ -2322,6 +2385,7 @@ def test_breaking_then_breaking(self) -> None: args_breaking2_prod = ActionInputs( prefix='v', suffix=None, + only_bump_suffix=True, reference_version_suffix='beta', create_tag=True )