Skip to content

Commit a8c0a44

Browse files
bump version to 0.3.0 (#218)
* chore: bump version to 0.3.0; align __version__ with pyproject + guard test pyproject was 0.2.0 while src/mship/__init__.py __version__ lagged at 0.1.0. Set both to 0.3.0 and add tests/test_version.py asserting they stay in sync. * Update tests/test_version.py Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> --------- Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
1 parent 4e7b4bb commit a8c0a44

3 files changed

Lines changed: 14 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "mothership"
3-
version = "0.2.0"
3+
version = "0.3.0"
44
description = "Phase-based workflow engine for multi-repo AI development"
55
requires-python = ">=3.14"
66
dependencies = [

src/mship/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.1.0"
1+
__version__ = "0.3.0"

tests/test_version.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
"""Guard: the package __version__ must match pyproject's version so they can't
2+
drift (they were out of sync — 0.1.0 vs 0.2.0 — before the 0.3.0 bump)."""
3+
import tomllib
4+
from pathlib import Path
5+
6+
import mship
7+
8+
9+
def test_version_matches_pyproject():
10+
pyproject = Path(__file__).resolve().parents[1] / "pyproject.toml"
11+
data = tomllib.loads(pyproject.read_text(encoding="utf-8"))
12+
assert mship.__version__ == data["project"]["version"]

0 commit comments

Comments
 (0)