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:
mithun50
2025-11-12 17:59:29 +01:00
parent a3541f43c5
commit 32c0086d0f
2 changed files with 10 additions and 10 deletions

View File

@@ -52,28 +52,28 @@ jobs:
echo "📦 Checking package structure..."
ls -la
echo "🔍 Checking SuperClaude package..."
ls -la superclaude/
echo "🔍 Checking setup package..."
ls -la setup/
ls -la src/superclaude/
echo "🔍 Verifying src directory..."
ls -la src/
# Verify version consistency
echo "📋 Checking version consistency..."
python -c "
import toml
import sys
sys.path.insert(0, '.')
sys.path.insert(0, 'src')
# Load pyproject.toml version
with open('pyproject.toml', 'r') as f:
pyproject = toml.load(f)
pyproject_version = pyproject['project']['version']
# Load package version
from superclaude import __version__
print(f'pyproject.toml version: {pyproject_version}')
print(f'Package version: {__version__}')
if pyproject_version != __version__:
print('❌ Version mismatch!')
sys.exit(1)
@@ -122,7 +122,7 @@ jobs:
echo "|----------|-------|" >> $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 "| 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 "" >> $GITHUB_STEP_SUMMARY

View File

@@ -52,7 +52,7 @@ jobs:
class READMEQualityChecker:
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 = {
'structure_consistency': [],
'link_validation': [],