From 8a9293280b2505317eb15105d5288b066168acdf Mon Sep 17 00:00:00 2001 From: KoalaDev <6156589+Shik3i@users.noreply.github.com> Date: Fri, 19 Jun 2026 11:12:48 +0200 Subject: [PATCH] chore: harden version substitution in release workflow and fix supply chain security version in README --- .github/workflows/release.yml | 5 +++-- README.md | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d2314cd..839444a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -109,8 +109,9 @@ jobs: sed -i "s/\"softwareVersion\": \".*\"/\"softwareVersion\": \"$VERSION\"/" website/template.html echo " ✓ website/template.html -> softwareVersion $VERSION" - # 6. README.md — version badge - sed -i "s/v[0-9]\+\.[0-9]\+\.[0-9]\+/v$VERSION/g" README.md + # 6. README.md — version badge & banner + sed -i "s|Release-v[0-9]\+\.[0-9]\+\.[0-9]\+-blue|Release-v$VERSION-blue|g" README.md + sed -i "s/New v[0-9]\+\.[0-9]\+\.[0-9]\+ Release/New v$VERSION Release/g" README.md echo " ✓ README.md -> v$VERSION" # 7. website/sitemap.xml — lastmod dates diff --git a/README.md b/README.md index dc551fd..2efed88 100644 --- a/README.md +++ b/README.md @@ -103,7 +103,7 @@ To connect your extension to a self-hosted server, open the popup → **Room** t To verify your relay is reachable from outside, visit `https://your-domain.com` in a browser — it should return `{"status":"online","service":"KoalaSync Relay"}`. -#### Supply Chain Security (v2.4.1+) +#### Supply Chain Security (v2.2.2+) All official release artifacts (Docker images and extension binaries) are published with signed [artifact attestations](https://docs.github.com/en/actions/how-tos/secure-your-work/use-artifact-attestations) to prove they were built from this repository's source code.