From f480b275f8683f3eb3e2964a1224631cdab7eee0 Mon Sep 17 00:00:00 2001 From: John Duprey Date: Fri, 24 Apr 2026 12:57:00 -0400 Subject: [PATCH 1/2] fix: add sha to version.json --- .github/workflows/cipp_frontend_build.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/cipp_frontend_build.yml b/.github/workflows/cipp_frontend_build.yml index 5ce0f6eece44..8dedfa497669 100644 --- a/.github/workflows/cipp_frontend_build.yml +++ b/.github/workflows/cipp_frontend_build.yml @@ -38,6 +38,13 @@ jobs: - name: Build Project run: npm run build + # Update version.json with commit hash + - name: Update version.json + run: | + VERSION=$(jq -r '.version' public/version.json) + SHORT_SHA="${GITHUB_SHA::7}" + echo "{\"version\": \"${VERSION}\", \"commit\": \"${SHORT_SHA}\"}" > out/version.json + # Create ZIP File in a New Source Directory - name: Prepare and Zip Build Files run: | From 8f8a65f1ad98d5630d3afa5a4ac4931ed3f10cd8 Mon Sep 17 00:00:00 2001 From: Zacgoose <107489668+Zacgoose@users.noreply.github.com> Date: Sat, 25 Apr 2026 01:01:14 +0800 Subject: [PATCH 2/2] hotfix --- package.json | 2 +- public/version.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 9ec2d301b018..0560615cafee 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cipp", - "version": "10.4.0", + "version": "10.4.1", "author": "CIPP Contributors", "homepage": "https://cipp.app/", "bugs": { diff --git a/public/version.json b/public/version.json index ce23da362f89..4d2e87f1cdee 100644 --- a/public/version.json +++ b/public/version.json @@ -1,3 +1,3 @@ { - "version": "10.4.0" + "version": "10.4.1" }