mirror of
https://github.com/SuperClaude-Org/SuperClaude_Framework.git
synced 2025-12-29 16:16:08 +00:00
fix: correct package paths in publish-pypi workflow
Fixed package structure verification paths: - Changed superclaude/ to src/superclaude/ - Updated Python path for version imports - Added README-kr.md to quality check workflow Fixes directory not found errors in CI/CD pipeline. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
18
.github/workflows/publish-pypi.yml
vendored
18
.github/workflows/publish-pypi.yml
vendored
@@ -52,28 +52,28 @@ jobs:
|
|||||||
echo "📦 Checking package structure..."
|
echo "📦 Checking package structure..."
|
||||||
ls -la
|
ls -la
|
||||||
echo "🔍 Checking SuperClaude package..."
|
echo "🔍 Checking SuperClaude package..."
|
||||||
ls -la superclaude/
|
ls -la src/superclaude/
|
||||||
echo "🔍 Checking setup package..."
|
echo "🔍 Verifying src directory..."
|
||||||
ls -la setup/
|
ls -la src/
|
||||||
|
|
||||||
# Verify version consistency
|
# Verify version consistency
|
||||||
echo "📋 Checking version consistency..."
|
echo "📋 Checking version consistency..."
|
||||||
python -c "
|
python -c "
|
||||||
import toml
|
import toml
|
||||||
import sys
|
import sys
|
||||||
sys.path.insert(0, '.')
|
sys.path.insert(0, 'src')
|
||||||
|
|
||||||
# Load pyproject.toml version
|
# Load pyproject.toml version
|
||||||
with open('pyproject.toml', 'r') as f:
|
with open('pyproject.toml', 'r') as f:
|
||||||
pyproject = toml.load(f)
|
pyproject = toml.load(f)
|
||||||
pyproject_version = pyproject['project']['version']
|
pyproject_version = pyproject['project']['version']
|
||||||
|
|
||||||
# Load package version
|
# Load package version
|
||||||
from superclaude import __version__
|
from superclaude import __version__
|
||||||
|
|
||||||
print(f'pyproject.toml version: {pyproject_version}')
|
print(f'pyproject.toml version: {pyproject_version}')
|
||||||
print(f'Package version: {__version__}')
|
print(f'Package version: {__version__}')
|
||||||
|
|
||||||
if pyproject_version != __version__:
|
if pyproject_version != __version__:
|
||||||
print('❌ Version mismatch!')
|
print('❌ Version mismatch!')
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
@@ -122,7 +122,7 @@ jobs:
|
|||||||
echo "|----------|-------|" >> $GITHUB_STEP_SUMMARY
|
echo "|----------|-------|" >> $GITHUB_STEP_SUMMARY
|
||||||
echo "| Target | ${{ github.event_name == 'release' && 'PyPI (Production)' || github.event.inputs.target || 'TestPyPI' }} |" >> $GITHUB_STEP_SUMMARY
|
echo "| Target | ${{ github.event_name == 'release' && 'PyPI (Production)' || github.event.inputs.target || 'TestPyPI' }} |" >> $GITHUB_STEP_SUMMARY
|
||||||
echo "| Trigger | ${{ github.event_name }} |" >> $GITHUB_STEP_SUMMARY
|
echo "| Trigger | ${{ github.event_name }} |" >> $GITHUB_STEP_SUMMARY
|
||||||
echo "| Version | $(python -c 'from superclaude import __version__; print(__version__)') |" >> $GITHUB_STEP_SUMMARY
|
echo "| Version | $(python -c 'import sys; sys.path.insert(0, \"src\"); from superclaude import __version__; print(__version__)') |" >> $GITHUB_STEP_SUMMARY
|
||||||
echo "| Commit | ${{ github.sha }} |" >> $GITHUB_STEP_SUMMARY
|
echo "| Commit | ${{ github.sha }} |" >> $GITHUB_STEP_SUMMARY
|
||||||
echo "" >> $GITHUB_STEP_SUMMARY
|
echo "" >> $GITHUB_STEP_SUMMARY
|
||||||
|
|
||||||
|
|||||||
2
.github/workflows/readme-quality-check.yml
vendored
2
.github/workflows/readme-quality-check.yml
vendored
@@ -52,7 +52,7 @@ jobs:
|
|||||||
|
|
||||||
class READMEQualityChecker:
|
class READMEQualityChecker:
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.readme_files = ['README.md', 'README-zh.md', 'README-ja.md']
|
self.readme_files = ['README.md', 'README-zh.md', 'README-ja.md', 'README-kr.md']
|
||||||
self.results = {
|
self.results = {
|
||||||
'structure_consistency': [],
|
'structure_consistency': [],
|
||||||
'link_validation': [],
|
'link_validation': [],
|
||||||
|
|||||||
Reference in New Issue
Block a user