Skip to content

Commit

Permalink
reset version
Browse files Browse the repository at this point in the history
  • Loading branch information
limingxinleo committed Nov 22, 2024
1 parent fdddb6f commit bcffdf8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:

- name: Build Packages
run: |
sed -i 's/__version__/${{ steps.get_version.outputs.VERSION }}/g' setup.py
pip install --upgrade pip setuptools wheel twine
python setup.py sdist
python -m twine upload dist/* -u __token__ -p ${{ secrets.PYPI_PASSWORD }}
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# 包的分发名称,使用字母、数字、_、-
name="roc-py",
# 版本号, 版本号规范:https://www.python.org/dev/peps/pep-0440/
version="0.1.0",
version="__version__",
# 作者名
author="limingxinleo",
# 作者邮箱
Expand Down

0 comments on commit bcffdf8

Please sign in to comment.