replyowl 0.2.0__tar.gz → 0.2.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: replyowl
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: Email reply body generator for HTML and text in Python
5
5
  Project-URL: Homepage, https://smkent.github.io/replyowl
6
6
  Project-URL: Repository, https://github.com/smkent/replyowl
@@ -176,5 +176,10 @@ print(html) # (output formatted for readability)
176
176
  # </html>
177
177
  ```
178
178
 
179
+ ## Project template
180
+
181
+ This project is generated and maintained with [copier-python][copier-python].
182
+
183
+ [copier-python]: https://smkent.github.io/copier-python
179
184
  [html2text]: https://github.com/Alir3z4/html2text
180
185
  [logo]: https://raw.github.com/smkent/replyowl/main/img/replyowl.png
@@ -144,5 +144,10 @@ print(html) # (output formatted for readability)
144
144
  # </html>
145
145
  ```
146
146
 
147
+ ## Project template
148
+
149
+ This project is generated and maintained with [copier-python][copier-python].
150
+
151
+ [copier-python]: https://smkent.github.io/copier-python
147
152
  [html2text]: https://github.com/Alir3z4/html2text
148
153
  [logo]: https://raw.github.com/smkent/replyowl/main/img/replyowl.png
@@ -7,11 +7,19 @@ icon: lucide/rocket
7
7
 
8
8
  Release version numbers should follow [Semantic Versioning][semver].
9
9
 
10
- To create a new release, simply create and push a tag with the new release
11
- version number:
10
+ To create a release, run `poe release` with one of `patch`, `minor`, or `major`
11
+ corresponding to the version number component to update:
12
+
13
+ ```sh
14
+ poe release patch|minor|major
15
+ ```
16
+
17
+ A new tag with the new release version number will be created automatically
18
+ using [bump-my-version][bump-my-version] (for example, `v1.2.3`).
19
+
20
+ Afterward, push the new release tag:
12
21
 
13
22
  ```sh
14
- git tag vX.Y.Z # for example, v1.2.3
15
23
  git push --tags
16
24
  ```
17
25
 
@@ -24,6 +32,7 @@ git push --tags
24
32
 
25
33
  [![PyPI][pypi-badge]][pypi-project]
26
34
 
35
+ [bump-my-version]: https://callowayproject.github.io/bump-my-version/
27
36
  [github-release-badge]: https://img.shields.io/github/v/release/smkent/replyowl
28
37
  [github-release-latest]: https://github.com/smkent/replyowl/releases/latest
29
38
  [github-releases]: https://github.com/smkent/replyowl/releases
@@ -45,20 +45,28 @@ Issues = "https://github.com/smkent/replyowl/issues"
45
45
 
46
46
  [dependency-groups]
47
47
  dev = [
48
+ "bump-my-version>=1.3.0",
48
49
  "poethepoet>=0.42",
49
50
  "prek>=0.3",
50
51
  "pysentry-rs>=0.4",
51
- "pytest>=9.0",
52
- "pytest-cov>=7.0",
53
- "pytest-sugar>=1.0",
52
+ "pytest>=9",
53
+ "pytest-cov>=7",
54
+ "pytest-sugar>=1",
54
55
  "ruff>=0.15",
55
- "ty>=0.0.26",
56
+ "ty>=0.0.31",
56
57
  ]
57
58
  docs = [
58
59
  "mkdocstrings[python]>=1",
59
- "zensical>=0.0.30",
60
+ "zensical>=0.0.33",
60
61
  ]
61
62
 
63
+ [tool.bumpversion]
64
+ commit = false
65
+ tag = true
66
+ tag_name = "v{new_version}"
67
+ tag_message = ""
68
+ push = true
69
+
62
70
  [tool.hatch.build.targets.sdist]
63
71
  include = ["/replyowl", "/tests", "*.md", "LICENSE"]
64
72
 
@@ -117,6 +125,10 @@ help = "Run all formatters and static checks"
117
125
  sequence = [{ref = "lint"}, {ref = "test"}]
118
126
  help = "Run all formatters, static checks and tests"
119
127
 
128
+ [tool.poe.tasks.release]
129
+ cmd = "bump-my-version bump -v"
130
+ help = "Create and push a release tag (patch/minor/major)"
131
+
120
132
  [tool.poe.tasks.setup]
121
133
  sequence = [
122
134
  {cmd = "uv sync"},
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes