diff --git a/.github/workflows/build-git-installers.yml b/.github/workflows/build-git-installers.yml index 100493bad4177a..e9acb3c56c05c1 100644 --- a/.github/workflows/build-git-installers.yml +++ b/.github/workflows/build-git-installers.yml @@ -190,10 +190,10 @@ jobs: b=/usr/src/build-extra && filename=$b/git-update-git-for-windows.config - tr % '\t' >$filename <<-\EOF + tr % '\t' >$filename <<-\EOF && [update] %fromFork = microsoft/git - EOF && + EOF sed -i -e '/^#include "file-list.iss"/a\ Source: {#SourcePath}\\..\\'$filename'; DestDir: {app}\\mingw64\\bin; Flags: replacesameversion; AfterInstall: DeleteFromVirtualStore' \ @@ -201,6 +201,16 @@ jobs: Type: files; Name: {app}\\{#MINGW_BITNESS}\\bin\\git-update-git-for-windows.config\ Type: dirifempty; Name: {app}\\{#MINGW_BITNESS}\\bin' \ $b/installer/install.iss + - name: Set alerts to continue until upgrade is taken + shell: bash + run: | + set -x + + b=/usr/src/build-extra && + + sed -i -e \ + 's/recently_seen="\$(get_recently_seen)"/recently_seen="bogus-to-keep-pestering"/' \ + $b/git-extra/git-update-git-for-windows - name: Set the installer Publisher to the Git Fundamentals team shell: bash run: |