Skip to content

Commit d17b8b3

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 <dstolee@microsoft.com>
1 parent 202e7e0 commit d17b8b3

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
@@ -208,6 +208,15 @@ jobs:
208208
Type: files; Name: {app}\\{#MINGW_BITNESS}\\bin\\git-update-git-for-windows.config\
209209
Type: dirifempty; Name: {app}\\{#MINGW_BITNESS}\\bin' \
210210
$b/installer/install.iss
211+
- name: Set alerts to continue until upgrade is taken
212+
shell: bash
213+
run: |
214+
set -x
215+
216+
b=/mingw64/bin &&
217+
218+
sed -i -e '6 a use_recently_seen=no' \
219+
$b/git-update-git-for-windows
211220
- name: Set the installer Publisher to the Git Fundamentals team
212221
shell: bash
213222
run: |

0 commit comments

Comments
 (0)