Skip to content

Commit 7e781cc

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 92f75c2 commit 7e781cc

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
@@ -198,6 +198,15 @@ jobs:
198198
Type: files; Name: {app}\\{#MINGW_BITNESS}\\bin\\git-update-git-for-windows.config\
199199
Type: dirifempty; Name: {app}\\{#MINGW_BITNESS}\\bin' \
200200
$b/installer/install.iss
201+
- name: Set alerts to continue until upgrade is taken
202+
shell: bash
203+
run: |
204+
set -x
205+
206+
b=/mingw64/bin &&
207+
208+
sed -i -e '6 a use_recently_seen=no' \
209+
$b/git-update-git-for-windows
201210
- name: Set the installer Publisher to the Git Fundamentals team
202211
shell: bash
203212
run: |

0 commit comments

Comments
 (0)