You've already forked wp-fedistream
docs: Update session history with CI/CD fixes
Document all CI/CD pipeline fixes: - Gitea API for releases (not GitHub action) - Git submodule with relative URL - Composer path repository - gettext installation - SIGPIPE fix Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
24
CLAUDE.md
24
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
|
||||
|
||||
Reference in New Issue
Block a user