diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index e41f875..53da454 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -29,17 +29,22 @@ jobs: run: | python -m pip install --upgrade --upgrade-strategy eager -r requirements-dev.txt - - name: Build and make zip plugin + - name: Build and install wheel run: | tox run -m build - python -m pip install dist/*.whl -t build - cd build - zip -x "*/__pycache__/*" -r ../dist/${{ github.event.repository.name }}-plugin-${{ github.ref_name }}.zip * - name: "Publish distribution 📦 to PyPI" if: startsWith(github.ref, 'refs/tags/') uses: pypa/gh-action-pypi-publish@release/v1 + - name: Build ComicTagger plugin zip + if: startsWith(github.ref, 'refs/tags/') + shell: bash + run: | + python -m pip install dist/*.whl -t build + cd build + zip -x "*/__pycache__/*" -r ../dist/${{ github.event.repository.name }}-plugin-${{ github.ref_name }}.zip * + - name: Get release name if: startsWith(github.ref, 'refs/tags/') shell: bash