Skip to content

Commit f5ef555

Browse files
committed
feat: auto GitHub Releases on publish, add py.typed marker (v0.7.37)
publish.yml now creates a GitHub Release with auto-generated notes after PyPI publish. Added py.typed so mypy/pyright recognize the package as typed.
1 parent 852ffac commit f5ef555

3 files changed

Lines changed: 9 additions & 2 deletions

File tree

.github/workflows/publish.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ jobs:
1111
environment: pypi
1212
permissions:
1313
id-token: write
14+
contents: write
1415

1516
steps:
1617
- uses: actions/checkout@v6
@@ -27,3 +28,9 @@ jobs:
2728

2829
- name: Publish to PyPI
2930
uses: pypa/gh-action-pypi-publish@release/v1
31+
32+
- name: Create GitHub Release
33+
env:
34+
GH_TOKEN: ${{ github.token }}
35+
TAG_NAME: ${{ github.ref_name }}
36+
run: gh release create "$TAG_NAME" --title "$TAG_NAME" --generate-notes

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "kwtsms"
3-
version = "0.7.36"
3+
version = "0.7.37"
44
description = "Python client for kwtSMS, the Kuwait SMS gateway trusted by top businesses to deliver messages worldwide, with private Sender ID, free API testing, and non-expiring credits."
55
readme = "README.md"
66
requires-python = ">=3.8"

src/kwtsms/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@
2626
__all__ = ["KwtSMS", "AsyncKwtSMS", "normalize_phone", "clean_message",
2727
"validate_phone_input", "parse_webhook",
2828
"find_country_code", "validate_phone_format"]
29-
__version__ = "0.7.36"
29+
__version__ = "0.7.37"

0 commit comments

Comments
 (0)