Skip to content

Commit 280848e

Browse files
derrickstoleedscho
authored andcommitted
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 <[email protected]>
1 parent a070a17 commit 280848e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/build-git-installers.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,15 @@ jobs:
201201
Type: files; Name: {app}\\{#MINGW_BITNESS}\\bin\\git-update-git-for-windows.config\
202202
Type: dirifempty; Name: {app}\\{#MINGW_BITNESS}\\bin' \
203203
$b/installer/install.iss
204+
- name: Set alerts to continue until upgrade is taken
205+
shell: bash
206+
run: |
207+
set -x
208+
209+
b=/mingw64/bin &&
210+
211+
sed -i -e '6 a use_recently_seen=no' \
212+
$b/git-update-git-for-windows
204213
- name: Set the installer Publisher to the Git Fundamentals team
205214
shell: bash
206215
run: |

0 commit comments

Comments
 (0)