diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index b90b4f0..73f5e5f 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -1,8 +1,4 @@ -# This workflows will upload a Python Package using Twine when a release is created -# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries - name: Upload Python Package - on: push: tags: @@ -10,21 +6,15 @@ on: - '[0-9].[0-9].[0-9]-rc.[0-9]' jobs: - deploy: + pypi: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Set up Python - uses: actions/setup-python@v2 - with: - python-version: '3.x' - - name: Install dependencies - run: | - pip install setuptools wheel twine - - name: Build and publish - env: - TWINE_USERNAME: __token__ - TWINE_PASSWORD: ${{ secrets.PYPI_GITHUB_DEDUPLIDOG }} - run: | - python setup.py sdist bdist_wheel - twine upload dist/* + - name: Checkout + uses: actions/checkout@v3 + with: + fetch-depth: 0 + - run: python3 -m pip install --upgrade build && python3 -m build + - name: Publish package + uses: pypa/gh-action-pypi-publish@v1.8.10 + with: + password: ${{ secrets.PYPI_GITHUB_ORGAFOLD }} \ No newline at end of file diff --git a/dist/deduplidog-0.6.0-py3-none-any.whl b/dist/deduplidog-0.6.0-py3-none-any.whl new file mode 100644 index 0000000..52475a1 Binary files /dev/null and b/dist/deduplidog-0.6.0-py3-none-any.whl differ diff --git a/dist/deduplidog-0.6.0.tar.gz b/dist/deduplidog-0.6.0.tar.gz new file mode 100644 index 0000000..862b318 Binary files /dev/null and b/dist/deduplidog-0.6.0.tar.gz differ diff --git a/pyproject.toml b/pyproject.toml index 70938ff..50f1ef5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,10 +4,12 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "deduplidog" -version = "0.6.0" -description = "Deduplicate folders" +version = "0.6.1" +description = "Yet another file deduplicator" authors = ["Edvard Rejthar "] license = "GPL-3.0-or-later" +homepage = "https://github.com/CZ-NIC/deduplidog" +readme = "README.md" [tool.poetry.dependencies] click = "~=8.1.7"