From 1a210bdb95fc6aaa885391312c824b2fa2f16fbe Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 1 Mar 2026 07:21:08 +0000 Subject: [PATCH] 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> --- .github/workflows/release.yml | 4 ++-- scripts/README.md | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9512bff..0ba0908 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -86,12 +86,12 @@ jobs: run: | VERSION="${{ steps.version.outputs.version }}" # Update version in templateDetails.xml - sed -i "s/.*<\/version>/${VERSION}<\/version>/g" src/templates/templateDetails.xml + sed -i "s/.*<\/version>/${VERSION}<\/version>/g" src/templateDetails.xml # Update version in updates.xml sed -i "s/.*<\/version>/${VERSION}<\/version>/g" updates.xml # Update creation date to today DATE=$(date +%Y-%m-%d) - sed -i "s/.*<\/creationDate>/${DATE}<\/creationDate>/g" src/templates/templateDetails.xml + sed -i "s/.*<\/creationDate>/${DATE}<\/creationDate>/g" src/templateDetails.xml sed -i "s/.*<\/creationDate>/${DATE}<\/creationDate>/g" updates.xml - name: Create package structure diff --git a/scripts/README.md b/scripts/README.md index 0deddfd..ab69614 100644 --- a/scripts/README.md +++ b/scripts/README.md @@ -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