diff --git a/.github/workflows/release-on-version.yml b/.github/workflows/release-on-version.yml index 813228c..1171c17 100644 --- a/.github/workflows/release-on-version.yml +++ b/.github/workflows/release-on-version.yml @@ -55,6 +55,15 @@ jobs: echo "exists=false" >> "$GITHUB_OUTPUT" fi + # Ensure the stamper is executable and has LF endings (helps if edited on Windows) + - name: Prep stamper script + if: steps.tagcheck.outputs.exists == 'false' + shell: bash + run: | + set -euo pipefail + sed -i 's/\r$//' scripts/stamp-assets.sh || true + chmod +x scripts/stamp-assets.sh + - name: Build zip artifact (stamped) if: steps.tagcheck.outputs.exists == 'false' shell: bash @@ -71,8 +80,8 @@ jobs: --exclude '.dockerignore' --exclude '.gitattributes' --exclude '.gitignore' \ ./ staging/ - # Stamp IN THE STAGING COPY - ./scripts/stamp-assets.sh "${VER}" "$(pwd)/staging" + # Stamp IN THE STAGING COPY (invoke via bash to avoid exec-bit issues) + bash ./scripts/stamp-assets.sh "${VER}" "$(pwd)/staging" - name: Verify placeholders are gone (staging) if: steps.tagcheck.outputs.exists == 'false' diff --git a/CHANGELOG.md b/CHANGELOG.md index e41079b..1025691 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## Changes 10/29/2025 (v1.7.0) +## Changes 10/29/2025 (v1.7.0 & v1.7.1) release(v1.7.0): asset cache-busting pipeline, public siteConfig cache, JS core split, and caching/security polish @@ -64,6 +64,12 @@ release(v1.7.0): asset cache-busting pipeline, public siteConfig cache, JS core - Proxies/edge caches: the new `?v=` scheme enables long-lived immutable caching; purge is automatic on version bump. - If you previously read admin config directly on the client, it now reads `/api/siteConfig.php`. +### Additional changes/fixes for release + +- `release-on-version.yml` + - normalize line endings (strip CRLF) + - stamp-assets.sh don’t rely on the exec; invoke via bash + --- ## Changes 10/28/2025 (v1.6.11)