Skip to content

Commit e08f28e

Browse files
committed
fix: sync package version with release
1 parent e21c532 commit e08f28e

3 files changed

Lines changed: 9 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "atlassian-cli"
7-
version = "0.1.6"
7+
version = "0.1.7"
88
description = "CLI for Atlassian Server and Data Center products"
99
readme = "README.md"
1010
requires-python = ">=3.12"

src/atlassian_cli/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
__all__ = ["__version__"]
22

3-
__version__ = "0.1.5"
3+
__version__ = "0.1.7"

tests/test_update.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import json
2+
import tomllib
23
from pathlib import Path
34

45
from typer.testing import CliRunner
@@ -21,6 +22,12 @@
2122
runner = CliRunner()
2223

2324

25+
def test_package_version_matches_pyproject() -> None:
26+
pyproject = tomllib.loads(Path("pyproject.toml").read_text())
27+
28+
assert __version__ == pyproject["project"]["version"]
29+
30+
2431
class FakeResponse:
2532
def __init__(self, payload: dict) -> None:
2633
self.payload = payload

0 commit comments

Comments
 (0)