File tree Expand file tree Collapse file tree 2 files changed +21
-1
lines changed
Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Original file line number Diff line number Diff line change 2727 python3 -m pip install --upgrade pip
2828 pip install build
2929
30+ - name : Clean build artifacts
31+ run : |
32+ # Remove any cached files that might interfere with the build
33+ find . -name "__pycache__" -type d -exec rm -rf {} + || true
34+ find . -name "*.pyc" -type f -delete || true
35+ rm -rf dist/ build/ *.egg-info/ src/*.egg-info/ || true
36+
3037 - name : Verify version for main branch
3138 run : |
3239 # Get current version and package name from __init__.py
4956 - name : Build package
5057 run : python3 -m build
5158
59+ - name : Verify build artifacts
60+ run : |
61+ echo "📦 Build artifacts created:"
62+ ls -la dist/
63+ echo "📋 File sizes:"
64+ du -h dist/*
65+ echo "🔍 Checking file integrity:"
66+ for file in dist/*; do
67+ echo "File: $file"
68+ file "$file"
69+ echo "SHA256: $(sha256sum "$file" | cut -d' ' -f1)"
70+ done
71+
5272 - name : Publish to PyPI (Trusted Publishing)
5373 uses : pypa/gh-action-pypi-publish@release/v1
5474 with :
Original file line number Diff line number Diff line change 22import sys
33
44# Package metadata - single source of truth
5- __version__ = "1.0.2 "
5+ __version__ = "1.0.3 "
66__package_name__ = "pepe-cli"
77__module_name__ = "pepe"
88__author__ = "Jahn Zhong"
You can’t perform that action at this time.
0 commit comments