Skip to content

Commit a41b2f1

Browse files
committed
.github: 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 041afb4 commit a41b2f1

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,16 @@ 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=/usr/src/build-extra &&
210+
211+
sed -i -e \
212+
's/recently_seen="\$(get_recently_seen)"/recently_seen="bogus-to-keep-pestering"/' \
213+
$b/git-extra/git-update-git-for-windows
204214
- name: Set the installer Publisher to the Git Fundamentals team
205215
shell: bash
206216
run: |

0 commit comments

Comments
 (0)