Add Gitea CI/CD release pipeline

- Create automated release workflow triggered on version tags (v*)
- Validates plugin version matches tag version
- Installs production dependencies via Composer
- Compiles translation files (.po to .mo)
- Builds release package with proper exclusions
- Generates SHA256 checksum
- Publishes release to Gitea with changelog notes
- Document automated release process in README

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-29 18:49:29 +01:00
parent 38e9506d4e
commit 02b0308058
2 changed files with 229 additions and 0 deletions

View File

@@ -40,6 +40,17 @@ A powerful WooCommerce plugin that adds tier pricing and package pricing functio
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Make sure WooCommerce is installed and activated
### Automated Releases
This project uses a Gitea CI/CD pipeline for automated releases. When a version tag (e.g., `v1.3.2`) 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
## Configuration
### Global Settings