diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index ac0361c..ccd794e 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -18,16 +18,12 @@ jobs: steps: - name: Checkout source - - uses: actions/checkout@v3 + uses: actions/checkout@v3 - name: Set up Python uses: actions/setup-python@v3 with: python-version: '3.x' - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install build - name: Build source and wheel distributions run: | @@ -38,11 +34,12 @@ jobs: twine check --strict dist/* - name: Publish distribution to PyPI - uses: pypa/gh-action-pypi-publish@master + uses: pypa/gh-action-pypi-publish@release/v1 with: user: __token__ password: ${{ secrets.PYPI_API_TOKEN }} + # https://github.com/actions/first-interaction/issues/10#issuecomment-1475121828 - name: Create GitHub Release id: create_release uses: actions/create-release@v1 diff --git a/pyproject.toml b/pyproject.toml index 7829330..155c620 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,12 +1,12 @@ [project] name = "motrackers" -version = "v0.0.1" +version = "0.0.1" description = "Multi-object trackers in Python" authors = [ -{name = "Aditya M. Deshpande", email = "adityadeshpande2010@gmail.com"}, + {name = "Aditya M. Deshpande", email = "adityadeshpande2010@gmail.com"} ] license = {file = "LICENSE.txt"} -readme = "[README.md](http://readme.md/)" +readme = "README.md" requires-python = ">3.6" keywords = ["tracking", "object", "multi-object", "python"]