diff --git a/CLAUDE.md b/CLAUDE.md index a0ccd21..5f474e6 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -507,7 +507,7 @@ wp-fedistream/ ### 2026-01-29 - CI/CD Pipeline v0.4.0 -**Summary:** Added Gitea Actions workflow for automated release package creation. +**Summary:** Added Gitea Actions workflow for automated release package creation with multiple iterations to fix CI issues. **Features:** @@ -520,23 +520,35 @@ wp-fedistream/ - SHA256 checksum generation - Package structure verification - Changelog extraction for release notes -- Automatic Gitea release creation with attachments +- Automatic Gitea release creation via API - Pre-release detection for tags containing `-` **Files Created:** - `.gitea/workflows/release.yml` - CI/CD release pipeline +- `.gitmodules` - Git submodule configuration +- `lib/wc-licensed-product-client/` - Submodule for private dependency **Files Modified:** - `CLAUDE.md` - Added CI/CD documentation and updated directory structure - `CHANGELOG.md` - Added v0.4.0 entry - `wp-fedistream.php` - Version bump to 0.4.0 +- `composer.json` - Changed to path repository for submodule +- `README.md` - Updated for v0.4.0, added release/installation docs + +**CI/CD Fixes Applied:** + +1. `actions/gitea-release-action@v1` doesn't exist - use Gitea API directly with curl +2. Private repo network issue - use git submodule with relative URL (`../wc-licensed-product-client.git`) +3. Composer path repository for submodule dependency +4. `msgfmt` not found - install gettext package +5. SIGPIPE error (exit 141) - use `set +o pipefail` and `|| true` **Notes:** -- Requires `GITEA_TOKEN` secret configured in repository settings +- Requires `SRC_GITEA_TOKEN` secret configured in repository settings - Uses `shivammathur/setup-php@v2` for PHP setup -- Uses `actions/gitea-release-action@v1` for release creation -- Compatible with GitHub Actions syntax -- User simplified checksums to SHA256 only (removed MD5) +- Uses Gitea API directly for release creation (not GitHub Actions) +- Submodule uses relative URL for CI compatibility +- Composer symlinks from `lib/wc-licensed-product-client` to vendor