Fix remaining src/templates references in workflow and scripts

- Update release.yml to use src/templateDetails.xml for version updates
- Fix scripts/README.md documentation to use correct src/ paths
- All documentation and scripts now use consistent correct paths

Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-03-01 07:21:08 +00:00
parent 6b2d21ad48
commit 1a210bdb95
2 changed files with 7 additions and 7 deletions

View File

@@ -86,12 +86,12 @@ jobs:
run: |
VERSION="${{ steps.version.outputs.version }}"
# Update version in templateDetails.xml
sed -i "s/<version>.*<\/version>/<version>${VERSION}<\/version>/g" src/templates/templateDetails.xml
sed -i "s/<version>.*<\/version>/<version>${VERSION}<\/version>/g" src/templateDetails.xml
# Update version in updates.xml
sed -i "s/<version>.*<\/version>/<version>${VERSION}<\/version>/g" updates.xml
# Update creation date to today
DATE=$(date +%Y-%m-%d)
sed -i "s/<creationDate>.*<\/creationDate>/<creationDate>${DATE}<\/creationDate>/g" src/templates/templateDetails.xml
sed -i "s/<creationDate>.*<\/creationDate>/<creationDate>${DATE}<\/creationDate>/g" src/templateDetails.xml
sed -i "s/<creationDate>.*<\/creationDate>/<creationDate>${DATE}<\/creationDate>/g" updates.xml
- name: Create package structure

View File

@@ -19,7 +19,7 @@ This directory contains utility scripts for building, releasing, and managing th
**What it does**:
1. Creates a `build/` directory
2. Copies template files from `src/templates/`
2. Copies template files from `src/`
3. Copies media files from `src/media/` to `media/`
4. Creates a ZIP package: `mokocassiopeia-src-{version}.zip`
5. Generates SHA-256 and MD5 checksums
@@ -116,7 +116,7 @@ git push origin 03.08.04
1. **Update version numbers**:
```bash
# Update these files manually:
# - src/templates/templateDetails.xml
# - src/templateDetails.xml
# - updates.xml
# - CHANGELOG.md
```
@@ -148,7 +148,7 @@ git push origin 03.08.04
1. **Update version numbers**:
```bash
# Update these files in a branch:
# - src/templates/templateDetails.xml
# - src/templateDetails.xml
# - CHANGELOG.md
git checkout -b release/03.08.04
@@ -199,7 +199,7 @@ git push origin 03.08.04
- [ ] All code changes merged to main
- [ ] Version numbers updated:
- [ ] `src/templates/templateDetails.xml`
- [ ] `src/templateDetails.xml`
- [ ] `CHANGELOG.md`
- [ ] CHANGELOG.md updated with release notes
- [ ] Tests passing
@@ -237,7 +237,7 @@ brew install zip
Check:
1. Tag format matches pattern: `[0-9][0-9].[0-9][0-9].[0-9][0-9]`
2. Repository has write permissions for GITHUB_TOKEN
3. `src/templates/` and `src/media/` directories exist
3. `src/` and `src/media/` directories exist
**Problem**: auto-update-sha fails