From 2aac993bb2846feeb46e3b05e2564cac8d94ab82 Mon Sep 17 00:00:00 2001 From: Darshan Sen Date: Tue, 18 Oct 2022 12:39:46 +0530 Subject: [PATCH] build: add version info to timezone update PR MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Refs: https://github.com/nodejs/node/pull/44950#issuecomment-1275073089 Signed-off-by: Darshan Sen PR-URL: https://github.com/nodejs/node/pull/45021 Reviewed-By: Moshe Atlow Reviewed-By: Michaƫl Zasso Reviewed-By: Tierney Cyren Reviewed-By: Richard Lau Reviewed-By: Rich Trott Reviewed-By: James M Snell --- .github/workflows/timezone-update.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/timezone-update.yml b/.github/workflows/timezone-update.yml index 7c64ad68f687ba..28c0cd1ed15056 100644 --- a/.github/workflows/timezone-update.yml +++ b/.github/workflows/timezone-update.yml @@ -31,6 +31,9 @@ jobs: persist-credentials: false repository: unicode-org/icu-data + - name: Record new version + run: echo "new_version=$(ls icu-data/tzdata/icunew | tail -1)" >> $GITHUB_ENV + - run: ./tools/update-timezone.mjs - name: Update the expected timezone version in test @@ -52,7 +55,7 @@ jobs: console.log(process.versions.tz) ``` branch: actions/timezone-update - commit-message: 'deps: update timezone' + commit-message: 'deps: update timezone to ${{ env.new_version }}' labels: dependencies - title: 'deps: update timezone' + title: 'deps: update timezone to ${{ env.new_version }}' reviewers: \@nodejs/i18n-api