617e778a48
Add dual-channel release strategy for stable and beta releases: Release Channels: - Stable channel: production-ready releases (stable, latest, v2.3.0) - Beta channel: early access features (beta, v2.3.0-beta.1) - Configurable via PICPEAK_CHANNEL environment variable Update Notifications: - Admin dashboard shows available updates for configured channel - Checks GitHub Releases API with 1-hour cache - Can be disabled with UPDATE_CHECK_ENABLED=false CI/CD Changes: - New release-please-beta.yml workflow for beta prereleases - Docker build workflow produces stable/beta tags based on branch - Beta versions use v2.3.0-beta.1 format New Files: - .github/workflows/release-please-beta.yml - release-please-config-beta.json - .release-please-manifest-beta.json - backend/src/services/updateCheckService.js - frontend/src/components/admin/UpdateNotification.tsx Modified Files: - docker-compose.production.yml (channel selection) - .env.example (PICPEAK_CHANNEL, UPDATE_CHECK_ENABLED) - backend/src/routes/adminSystem.js (/updates endpoint) - frontend components (VersionInfo, AdminDashboard) - i18n locales (en.json, de.json) - README.md and DEPLOYMENT_GUIDE.md (documentation)
31 lines
1.2 KiB
JSON
31 lines
1.2 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
|
|
"release-type": "simple",
|
|
"bump-minor-pre-major": true,
|
|
"bump-patch-for-minor-pre-major": true,
|
|
"include-component-in-tag": false,
|
|
"include-v-in-tag": true,
|
|
"prerelease": true,
|
|
"prerelease-type": "beta",
|
|
"changelog-sections": [
|
|
{ "type": "feat", "section": "Features", "hidden": false },
|
|
{ "type": "fix", "section": "Bug Fixes", "hidden": false },
|
|
{ "type": "perf", "section": "Performance Improvements", "hidden": false },
|
|
{ "type": "revert", "section": "Reverts", "hidden": false },
|
|
{ "type": "docs", "section": "Documentation", "hidden": false },
|
|
{ "type": "style", "section": "Styles", "hidden": true },
|
|
{ "type": "chore", "section": "Miscellaneous", "hidden": true },
|
|
{ "type": "refactor", "section": "Code Refactoring", "hidden": true },
|
|
{ "type": "test", "section": "Tests", "hidden": true },
|
|
{ "type": "build", "section": "Build System", "hidden": true },
|
|
{ "type": "ci", "section": "CI/CD", "hidden": true }
|
|
],
|
|
"packages": {
|
|
".": {
|
|
"release-type": "simple",
|
|
"changelog-path": "CHANGELOG.md",
|
|
"extra-files": []
|
|
}
|
|
}
|
|
}
|