File tree Expand file tree Collapse file tree 2 files changed +13
-9
lines changed Expand file tree Collapse file tree 2 files changed +13
-9
lines changed Original file line number Diff line number Diff line change 1414 run : |
1515 python3 -m pip install --upgrade build
1616 python3 -m build
17- - name : Upload
18- run : |
19- python3 -m pip install twine
20- python3 -m twine upload --repository pypi dist/* -u __token__ -p ${{ secrets.PYPI_TOKEN }}
17+ - name : Python Semantic Release
18+ uses : python-semantic-release/python-semantic-release@master
19+ with :
20+ github_token : ${{ secrets.GITHUB_TOKEN }}
21+ # - name: Upload
22+ # run: |
23+ # python3 -m pip install twine
24+ # python3 -m twine upload --repository pypi dist/* -u __token__ -p ${{ secrets.PYPI_TOKEN }}
Original file line number Diff line number Diff line change @@ -37,13 +37,13 @@ namespaces = false
3737[tool .setuptools .dynamic ]
3838dependencies = {file = [" requirements.txt" ]}
3939
40- [tool .semantic_release . branches . master ]
40+ [tool .semantic_release ]
4141version_variable = " pyproject.toml:version"
42- version_source = " commit"
43- prerelease = false
42+
43+ [tool .semantic_release .branches .master ]
44+ match = " master"
4445
4546[tool .semantic_release .branches .next ]
46- version_variable = " pyproject.toml:version"
47- version_source = " commit"
47+ match = " next"
4848prerelease_tag = " rc"
4949prerelease = true
You can’t perform that action at this time.
0 commit comments