mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-07-10 00:14:38 +00:00
Prepare v6.0.4-rc.1 support build
Mark the Proxmox agent token isolation fix for a private Pro support prerelease.
Refs 04a9e6ad3
This commit is contained in:
parent
04a9e6ad3e
commit
bd7087f101
3 changed files with 27 additions and 2 deletions
|
|
@ -61,6 +61,20 @@ class ValidateArtifactReleaseLineTest(unittest.TestCase):
|
|||
self.assertEqual(result["lineage"], "stable_patch")
|
||||
self.assertEqual(result["lineage_tag"], "v6.0.0")
|
||||
|
||||
def test_prerelease_support_tag_does_not_require_stable_lineage(self) -> None:
|
||||
result = self.validate(
|
||||
tag="v6.0.4-rc.1",
|
||||
existing_tags={"v6.0.4-rc.1"},
|
||||
commits={
|
||||
"v6.0.4-rc.1": "support-rc",
|
||||
"origin/pulse/v6-release": "branch",
|
||||
},
|
||||
ancestors={("support-rc", "branch")},
|
||||
)
|
||||
|
||||
self.assertEqual(result["lineage"], "prerelease")
|
||||
self.assertEqual(result["lineage_tag"], "")
|
||||
|
||||
def test_stable_patch_rejects_without_previous_stable_or_rc(self) -> None:
|
||||
with self.assertRaisesRegex(ValueError, "previous stable tag v6.0.0"):
|
||||
self.validate(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue