From 5c8465af626ed9188ec774676a0d373088df3405 Mon Sep 17 00:00:00 2001 From: guguducken Date: Mon, 5 Jan 2026 19:54:41 +0800 Subject: [PATCH] adjust year related config --- .github/workflows/e2e-upgrade.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/e2e-upgrade.yaml b/.github/workflows/e2e-upgrade.yaml index e8ed74d..380945b 100644 --- a/.github/workflows/e2e-upgrade.yaml +++ b/.github/workflows/e2e-upgrade.yaml @@ -288,6 +288,14 @@ jobs: run: | cd $GITHUB_WORKSPACE && mkdir workspace + - name: Adjust Year Related Configurations + run: | + cd ${{ github.workspace }}/upstream + now="$(date "+%Y")" + sed -i "s|2023|${now}|g" test/distributed/cases/function/func_datetime_utc_timestamp.result; + sed -i "s|2024|${now}|g" test/distributed/cases/function/func_datetime_utc_timestamp.result; + sed -i "s|2025|${now}|g" test/distributed/cases/function/func_datetime_utc_timestamp.result; + - name: Start the MO of Rlease ${{ steps.get-latest-release.outputs.tag }} run: | cd $GITHUB_WORKSPACE/workspace