From 9c5d54a6d540436623e08440574e46683b01f8fe Mon Sep 17 00:00:00 2001 From: Derrick Stolee Date: Wed, 6 Oct 2021 15:45:07 -0400 Subject: [PATCH] release: continue pestering until user upgrades In 'git-update-git-for-windows', there is a recently_seen variable that is loaded from Git config. This is intended to allow users to say "No, I don't want that version of Git for Windows." If users say no, then they are not reminded. Ever. We want users of microsoft/git to be notified repeately until they upgrade. The first notification might be dismissed because they don't want to interrupt their work. They should get the picture within a few reminders and upgrade in a timely fashion. Signed-off-by: Derrick Stolee --- .github/workflows/build-git-installers.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/build-git-installers.yml b/.github/workflows/build-git-installers.yml index 047e6e73483d03..e3bb0260d374b7 100644 --- a/.github/workflows/build-git-installers.yml +++ b/.github/workflows/build-git-installers.yml @@ -201,6 +201,15 @@ 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=/mingw64/bin && + + sed -i -e '6 a use_recently_seen=no' \ + $b/git-update-git-for-windows - name: Set the installer Publisher to the Git Fundamentals team shell: bash run: |