From a033b60f93d6c9b65bb73bfd66c3e8ec80308396 Mon Sep 17 00:00:00 2001 From: Carmelo Messina Date: Thu, 19 Feb 2026 13:40:49 +0100 Subject: [PATCH] [TOOLS] Release: move the creation of updateurl.txt closer to the Windows release --- .github/workflows/release.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 5b06fb72..df6f4bef 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -156,6 +156,10 @@ jobs: $GH release upload $VERSION-$CROMITE_SHA chrome-win.zip echo "::endgroup::" + TIMESTAMP=$(date +%s -r chrome-win.zip) + echo >updateurl.txt "browser=chromium;os=windows;architecture=64-bit;timestamp=$TIMESTAMP;editor=uazo;channel=stable;repository=https://github.com/uazo/cromite/releases;download=https://github.com/uazo/cromite/releases/latest/download/chrome-win.zip;version=$(cat $OUTPUTFILE_WIN/RELEASE);revision=1;commit=$CROMITE_SHA" + $GH release upload $VERSION-$CROMITE_SHA updateurl.txt + ## linux echo "::group::-------- linux x64" mkdir chrome-lin/ @@ -206,10 +210,6 @@ jobs: $GH release upload $VERSION-$CROMITE_SHA arm64_SystemWebViewShell.apk echo "::endgroup::" - TIMESTAMP=$(date +%s -r chrome-win.zip) - echo >updateurl.txt "browser=chromium;os=windows;architecture=64-bit;timestamp=$TIMESTAMP;editor=uazo;channel=stable;repository=https://github.com/uazo/cromite/releases;download=https://github.com/uazo/cromite/releases/latest/download/chrome-win.zip;version=$(cat $OUTPUTFILE_WIN/RELEASE);revision=1;commit=$CROMITE_SHA" - $GH release upload $VERSION-$CROMITE_SHA updateurl.txt - $GH release edit $VERSION-$CROMITE_SHA -t $VERSION-$CROMITE_SHA if [ $IS_DRAFT == "false" ]; then