Update documentation for v1.4.0 CI/CD release process
Some checks failed
Create Release Package / build-release (push) Failing after 4m36s

- README: Update automated releases section with submodule info
- README: Update file structure with .gitea/workflows and submodule
- README: Add v1.4.0 changelog entry
- CLAUDE.md: Update version to 1.4.0, roadmap to 1.4.1
- CLAUDE.md: Rewrite release process for CI/CD workflow
- CLAUDE.md: Add git submodule documentation
- CLAUDE.md: Add v1.4.0 session history

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-29 19:03:54 +01:00
parent 2bf0cd82fe
commit d80c9d90f9
2 changed files with 170 additions and 123 deletions

View File

@@ -42,14 +42,17 @@ A powerful WooCommerce plugin that adds tier pricing and package pricing functio
### Automated Releases
This project uses a Gitea CI/CD pipeline for automated releases. When a version tag (e.g., `v1.3.2`) is pushed:
This project uses a Gitea CI/CD pipeline for automated releases. When a version tag (e.g., `v1.4.0`) is pushed:
1. The pipeline validates the plugin version matches the tag
2. Composer dependencies are installed (production only)
3. Translation files are compiled
4. A release package is created with proper exclusions
5. SHA256 checksum is generated
6. Release is published to Gitea with changelog notes
1. Code is checked out with git submodules (dependencies bundled)
2. The pipeline validates the plugin version matches the tag
3. Composer dependencies are installed (production only)
4. Translation files are compiled (.po → .mo)
5. A release package is created with proper exclusions
6. SHA256 checksum is generated
7. Release is published to Gitea with changelog notes extracted from CHANGELOG.md
The `magdev/wc-licensed-product-client` library is bundled as a git submodule to avoid private repository authentication during CI/CD.
## Configuration
@@ -122,7 +125,9 @@ When editing a product, scroll to the **Product data** panel:
```
wc-tier-and-package-prices/
├── wc-tier-and-package-prices.php # Main plugin file (v1.3.1)
├── wc-tier-and-package-prices.php # Main plugin file (v1.4.0)
├── .gitea/workflows/
│ └── release.yml # CI/CD release pipeline
├── includes/
│ ├── class-wc-tpp-admin.php # Admin settings integration
│ ├── class-wc-tpp-settings.php # WooCommerce settings page
@@ -149,7 +154,8 @@ wc-tier-and-package-prices/
│ ├── wc-tier-package-prices.pot # Translation template
│ ├── wc-tier-package-prices-*.po # Translation sources
│ └── wc-tier-package-prices-*.mo # Compiled translations
├── vendor/ # Composer dependencies (Twig)
├── vendor/ # Composer dependencies
│ └── magdev/wc-licensed-product-client/ # License client (git submodule)
├── CHANGELOG.md # Complete version history
├── INSTALLATION.md # Installation guide
├── QUICKSTART.md # Quick start guide
@@ -195,18 +201,25 @@ This plugin is licensed under the GPL v2 or later.
## Changelog
### Version 1.4.0 - 2026-01-29
__Current Release__ - CI/CD Release Pipeline
- __New__: Gitea CI/CD release pipeline for automated builds and releases
- __New__: Git submodule for `magdev/wc-licensed-product-client` library
- __Changed__: Composer now uses path repository for bundled license client
- __DevOps__: Automated version validation, translation compilation, and release publishing
See [CHANGELOG.md](CHANGELOG.md) for complete details.
### Version 1.3.1 - 2026-01-27
__Current Release__ - Secure License Client
Secure License Client
- __Changed__: Switched to `SecureLicenseClient` with HMAC-SHA256 response signature verification
- __New__: Server Secret configuration field for secure communication with license server
- __New__: Rate limit exception handling with retry time display
- __New__: Signature verification and URL validation error handling
- __Security__: Response signatures verified using HMAC-SHA256 with license-specific derived keys
See [CHANGELOG.md](CHANGELOG.md) for complete details.
### Version 1.3.0 - 2026-01-25
__Breaking Changes__ - PHP 8.3+ Required