Skip to content

Commit

Permalink
Update release.yaml for plugin zip
Browse files Browse the repository at this point in the history
  • Loading branch information
mizaki authored Sep 20, 2024
1 parent 3a9c91f commit ba93fc1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,12 @@ jobs:
run: |
python -m pip install --upgrade --upgrade-strategy eager -r requirements-dev.txt
- name: Build and install wheel
- name: Build and make zip plugin
run: |
tox run -m build
python -m pip install dist/*.whl
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/')
Expand All @@ -52,4 +54,4 @@ jobs:
name: "${{ env.release_name }}"
draft: false
files: |
dist/*.whl
dist/*.zip

0 comments on commit ba93fc1

Please sign in to comment.