Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions .github/workflows/ps-build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,21 +27,6 @@ jobs:
- name: Build wheel
run: python -m build --wheel

- name: Verify wheel
run: |
pip install --no-deps dist/*.whl
python -c "
import sys, os
from mitmproxy.version import VERSION
tag = os.environ['GITHUB_REF_NAME']
expected = tag.split('ps-v')[1].rsplit('-',1)[0]
pkg_ver = VERSION.split('+')[0]
if pkg_ver != expected:
print(f'VERSION MISMATCH: wheel has {VERSION}, tag is {tag} (expected base version {expected})')
sys.exit(1)
print(f'Version OK: {VERSION} matches tag {tag}')
"

- name: Upload wheel to release
uses: softprops/action-gh-release@v2
with:
Expand Down
Loading