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