Remove references to deleted build-release.sh and minify.js. Document current CI-driven release process and remaining download-google-fonts.sh script. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1.8 KiB
1.8 KiB
Scripts — MokoCassiopeia
Utility scripts for managing the MokoCassiopeia Joomla template.
Available Scripts
download-google-fonts.sh
Purpose: Download Google Fonts for local hosting.
Usage:
./scripts/download-google-fonts.sh
Downloads font files and generates CSS @font-face declarations for local serving, avoiding external CDN dependencies.
Build & Release
Builds and releases are handled entirely by GitHub Actions workflows. There are no local build scripts.
auto-release.yml
Triggers: Push to version/* branches, manual dispatch.
Process:
- Reads version from
templateDetails.xml - Builds ZIP from
src/contents - Computes SHA-256 checksum
- Creates/updates GitHub Release with ZIP asset
- Updates
update.xmlwith download URL and checksum
update-server.yml
Triggers: Release published, manual dispatch.
Process:
- Updates
updates.xmlwith version, download URL, and SHA-256 - Commits changes to main
Release Process
All releases are automated via CI. To release:
- Bump version in
src/templateDetails.xml - Merge to main
- The workflow detects the version, builds the ZIP, and creates the release
Only create releases when src/ has changes. Non-src changes (docs, workflows, scripts) are cleanup and do not require a release.
License
All scripts are licensed under GPL-3.0-or-later.
Copyright (C) 2026 Moko Consulting