Skip to content

Commit cdbff69

Browse files
committed
feat: cleanup, and publishing the 0.1.1 version
1 parent 1fd9560 commit cdbff69

File tree

5 files changed

+326
-7
lines changed

5 files changed

+326
-7
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,12 @@ on:
55
- "v*"
66
permissions:
77
contents: read
8+
id-token: write
89
jobs:
910
publish:
1011
runs-on: ubuntu-latest
1112
steps:
1213
- uses: actions/checkout@v4
1314
- uses: astral-sh/setup-uv@v4
1415
- run: uv build --no-sources
15-
- run: uv publish --token ${{ secrets.PYPI_API_TOKEN }}
16+
- run: uv publish --trusted-publisher pypi

CHANGELOG.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@ all notable changes to this project will be documented in this file.
2929
- basic encode/decode functionality
3030
- vocab management features
3131

32-
## [0.1.1] - 2025-08-22
32+
## [0.1.1] - 2024-12-19
3333

3434
### added
35-
- cleaned up
35+
- first public release
36+
- proper package structure and build configuration
37+
- cli interface with rich output formatting
38+
- comprehensive documentation and examples

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,19 @@ git clone git@github.com:Code-Yay-Mal/burmese_tokenizer.git
5555
cd burmese_tokenizer
5656
uv sync --dev
5757
uv run pytest
58+
59+
uv build
60+
uv build --no-sources
61+
# make sure to have pypirc
62+
uv run twine upload dist/* or uv publish
63+
64+
# or publish with gh-action
65+
git tag v0.1.2
66+
git push origin v0.1.2
67+
68+
# if something goes wrong delete and restart all over again
69+
git tag -d v0.1.2 && git push origin :refs/tags/v0.1.2
70+
5871
```
5972

6073
## License

pyproject.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
2-
name = "burmese-tokenizer"
3-
version = "0.1.0"
2+
name = "burmese_tokenizer"
3+
version = "0.1.1"
44
description = "A simple tokenizer for Burmese text"
55
readme = "README.md"
66
requires-python = ">=3.11"
@@ -26,6 +26,7 @@ dependencies = [
2626
"sentencepiece>=0.1.99",
2727
"click>=8.0.0",
2828
"rich>=13.0.0",
29+
"twine>=6.1.0",
2930
]
3031

3132
[project.optional-dependencies]
@@ -50,7 +51,7 @@ Issues = "https://github.com/Code-Yay-Mal/burmese_tokenizer/issues"
5051
Changelog = "https://github.com/Code-Yay-Mal/burmese_tokenizer/blob/main/CHANGELOG.md"
5152

5253
[project.scripts]
53-
burmese-tokenizer = "burmese_tokenizer.cli:main"
54+
burmese_tokenizer = "burmese_tokenizer.cli:main"
5455

5556
[build-system]
5657
requires = ["uv_build>=0.8.13,<0.9.0"]

0 commit comments

Comments
 (0)