Skip to content

Commit 317bbc2

Browse files
authored
Merge pull request #45 from john-liu2/task/random
Include `config.json` in package. Set `0.3.9` version
2 parents f47eed2 + 5b09a1b commit 317bbc2

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ uv pip install --upgrade batch_img
6666

6767
```
6868
✗ batch_img --version
69-
0.3.8
69+
0.3.9
7070
7171
7272
✗ batch_img auto ~/Documents

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ requires = ["hatchling"]
44

55
[project]
66
name = "batch_img"
7-
version = "0.3.8"
7+
version = "0.3.9"
88
description = "Batch process (resize, rotate, remove background, remove GPS, add border, set transparency, auto do all) image files (HEIC, JPG, PNG)"
99
readme = "README.md"
1010
authors = [{ name = "John Liu", email = "rim2rim@gmail.com" }]
@@ -46,6 +46,7 @@ Homepage = "https://github.com/john-liu2/batch_img"
4646
[tool.hatch.build.targets.sdist]
4747
include = [
4848
"batch_img/*.py",
49+
"batch_img/config.json",
4950
"pyproject.toml",
5051
"README.md",
5152
"LICENSE",

tests/test_common.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
_dir = dirname(__file__)
2121

2222

23-
@pytest.fixture(params=[(PKG_NAME, "0.3.8"), ("", "0.3.8")])
23+
@pytest.fixture(params=[(PKG_NAME, "0.3.9"), ("", "0.3.9")])
2424
def ver_data(request):
2525
return request.param
2626

@@ -36,7 +36,7 @@ def test_get_version(ver_data):
3636
(
3737
"0.9.9",
3838
PKG_NAME,
39-
f"🔔 Update available: 0.3.8 → 0.9.9\nRun '{PKG_NAME} --update'",
39+
f"🔔 Update available: 0.3.9 → 0.9.9\nRun '{PKG_NAME} --update'",
4040
),
4141
]
4242
)

0 commit comments

Comments
 (0)