chore(release): prepare portfolio-hub v0.1.3
Publish verified PortfolioHub image / verify (push) Canceled after 0s
Publish verified PortfolioHub image / publish (push) Canceled after 0s

This commit is contained in:
2026-08-16 16:57:26 +09:00
parent ec912fcde8
commit 02bfa60299
6 changed files with 26 additions and 26 deletions
+4 -4
View File
@@ -65,11 +65,11 @@ def test_checkout_identity_is_exact():
def test_project_version_must_match_release_tag(tmp_path):
project = tmp_path / "pyproject.toml"
project.write_text('[project]\nversion = "0.1.2"\n')
assert image_release.project_release_version(project) == "v0.1.2"
assert image_release.validate_release_event("push", "refs/tags/v0.1.2", COMMIT, "v0.1.2") == "v0.1.2"
project.write_text('[project]\nversion = "0.1.3"\n')
assert image_release.project_release_version(project) == "v0.1.3"
assert image_release.validate_release_event("push", "refs/tags/v0.1.3", COMMIT, "v0.1.3") == "v0.1.3"
with pytest.raises(ValueError, match="project version"):
image_release.validate_release_event("push", "refs/tags/v0.1.3", COMMIT, "v0.1.2")
image_release.validate_release_event("push", "refs/tags/v0.1.4", COMMIT, "v0.1.3")
def test_installed_smoke_has_import_cli_exact_inventory_and_cleanup():
inventory = tuple(