File tree Expand file tree Collapse file tree 5 files changed +326
-7
lines changed
Expand file tree Collapse file tree 5 files changed +326
-7
lines changed Original file line number Diff line number Diff line change 55 - " v*"
66permissions :
77 contents : read
8+ id-token : write
89jobs :
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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -55,6 +55,19 @@ git clone git@github.com:Code-Yay-Mal/burmese_tokenizer.git
5555cd burmese_tokenizer
5656uv sync --dev
5757uv 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
Original file line number Diff line number Diff line change 11[project ]
2- name = " burmese-tokenizer "
3- version = " 0.1.0 "
2+ name = " burmese_tokenizer "
3+ version = " 0.1.1 "
44description = " A simple tokenizer for Burmese text"
55readme = " README.md"
66requires-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"
5051Changelog = " 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 ]
5657requires = [" uv_build>=0.8.13,<0.9.0" ]
You can’t perform that action at this time.
0 commit comments