From f5027e0857f85f4f583da14d2495a9c9974131a1 Mon Sep 17 00:00:00 2001 From: cn337131 <141730190+cn337131@users.noreply.github.com> Date: Thu, 1 Aug 2024 15:54:17 +0000 Subject: [PATCH] try fix --- .github/workflows/create-release-branch.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/create-release-branch.yaml b/.github/workflows/create-release-branch.yaml index e3a7eec5..5494d79d 100644 --- a/.github/workflows/create-release-branch.yaml +++ b/.github/workflows/create-release-branch.yaml @@ -62,7 +62,11 @@ jobs: git config user.email 41898282+github-actions[bot]@users.noreply.github.com - name: Update versions - run: ./cd/update_versions.sh ${RELEASE_VERSION} + run: | + ./cd/update_versions.sh ${RELEASE_VERSION} + + find . -name 'Dockerfile' -exec sed -i -E "s/([A-Z]+_VERSION=)[0-9]+\.[0-9]+\.[0-9]+/\1${{env.RELEASE_VERSION}}" + + find . -name '.env' -exec sed -i -E "s/([A-Z]+_VERSION=)[0-9]+\.[0-9]+\.[0-9]+/\1${{env.RELEASE_VERSION}}" - name: Push to release branch run: |