telegram-kit 0.1.2__tar.gz → 0.1.3__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.
@@ -39,7 +39,7 @@ jobs:
39
39
  - name: Test
40
40
  run: uv run python -m unittest discover -s tests -t . -v
41
41
  - name: Build distributions
42
- run: uv build --wheel
42
+ run: uv build
43
43
  - name: Validate wheel is importable standalone
44
44
  shell: python
45
45
  run: |
@@ -1,23 +1,23 @@
1
- name: Publish
1
+ name: Release
2
2
 
3
- # GitHub Releases are created by the /release script; this job only uploads to PyPI.
3
+ # PyPI Trusted Publishing binds to this filename: keep it `release.yml` in every repo.
4
4
  on:
5
5
  push:
6
6
  tags:
7
7
  - "v*"
8
8
 
9
9
  permissions:
10
- contents: read
10
+ contents: write
11
11
  id-token: write
12
12
 
13
13
  concurrency:
14
- group: publish-${{ github.ref }}
14
+ group: release-${{ github.ref }}
15
15
 
16
16
  env:
17
17
  PYTHONUTF8: "1"
18
18
 
19
19
  jobs:
20
- publish:
20
+ release:
21
21
  runs-on: ubuntu-latest
22
22
  timeout-minutes: 15
23
23
  steps:
@@ -36,7 +36,7 @@ jobs:
36
36
  uv run ruff check .
37
37
  uv run python -m unittest discover -s tests -t .
38
38
  uv build
39
- - name: Validate wheel version matches tag
39
+ - name: Validate release wheel
40
40
  run: |
41
41
  uv venv .release-venv
42
42
  uv pip install --python .release-venv/bin/python --no-index dist/*.whl
@@ -47,3 +47,17 @@ jobs:
47
47
  fi
48
48
  - name: Publish to PyPI
49
49
  run: uv publish --trusted-publishing always
50
+
51
+ # After publish: uv publish uploads dist/*, and SHA256SUMS is not a distribution.
52
+ - name: Create checksums
53
+ run: sha256sum dist/* > dist/SHA256SUMS
54
+ - name: Create GitHub release
55
+ env:
56
+ GH_TOKEN: ${{ github.token }}
57
+ run: |
58
+ gh api "repos/${GITHUB_REPOSITORY}/git/refs/tags/$GITHUB_REF_NAME" >/dev/null
59
+ if gh release view "$GITHUB_REF_NAME" >/dev/null 2>&1; then
60
+ gh release upload "$GITHUB_REF_NAME" dist/* --clobber
61
+ else
62
+ gh release create "$GITHUB_REF_NAME" dist/* --generate-notes --title "$GITHUB_REF_NAME" --verify-tag
63
+ fi
@@ -1,3 +1,12 @@
1
+ ## [0.1.3] - 2026-09-26
2
+
3
+ ### 📚 Documentation
4
+
5
+ - **readme:** Link the PyPI project page
6
+
7
+ ### ⚙️ Miscellaneous Tasks
8
+
9
+ - **release:** Rename publish.yml to release.yml and attach dists to the GitHub Release
1
10
  ## [0.1.2] - 2026-09-26
2
11
 
3
12
  ### 🐛 Bug Fixes
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: telegram-kit
3
- Version: 0.1.2
3
+ Version: 0.1.3
4
4
  Summary: Secure Telegram Bot API notifications for any Python project. Stdlib only.
5
5
  License: MIT
6
6
  License-File: LICENSE
@@ -29,7 +29,7 @@ if token and store.set("telegram_bot_token", token):
29
29
  uv add "telegram-kit>=0.1.2,<0.2"
30
30
  ```
31
31
 
32
- Published to PyPI on every `v*` tag (`.github/workflows/publish.yml`).
32
+ Published to [PyPI](https://pypi.org/project/telegram-kit/) on every `v*` tag (`.github/workflows/release.yml`).
33
33
  `uv lock --upgrade-package telegram-kit` is how every project using this kit
34
34
  picks up a fix — no file to copy, no diff to reapply. A project that is never
35
35
  published to PyPI can pin the git tag instead:
@@ -20,7 +20,7 @@ if token and store.set("telegram_bot_token", token):
20
20
  uv add "telegram-kit>=0.1.2,<0.2"
21
21
  ```
22
22
 
23
- Published to PyPI on every `v*` tag (`.github/workflows/publish.yml`).
23
+ Published to [PyPI](https://pypi.org/project/telegram-kit/) on every `v*` tag (`.github/workflows/release.yml`).
24
24
  `uv lock --upgrade-package telegram-kit` is how every project using this kit
25
25
  picks up a fix — no file to copy, no diff to reapply. A project that is never
26
26
  published to PyPI can pin the git tag instead:
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "telegram-kit"
3
- version = "0.1.2"
3
+ version = "0.1.3"
4
4
  description = "Secure Telegram Bot API notifications for any Python project. Stdlib only."
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10"
@@ -29,7 +29,7 @@ wheels = [
29
29
 
30
30
  [[package]]
31
31
  name = "telegram-kit"
32
- version = "0.1.2"
32
+ version = "0.1.3"
33
33
  source = { editable = "." }
34
34
 
35
35
  [package.dev-dependencies]
File without changes
File without changes