From 1ce30257b3bf8ee3ba16cef11a9fcd461b0c1da5 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Wed, 7 Jun 2023 13:57:16 -0400 Subject: [PATCH] Enables upgrade notification for pre-release --- src/extension.ts | 3 +-- src/messages.ts | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/extension.ts b/src/extension.ts index 712ca4c..5ad1999 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -325,8 +325,7 @@ async function showWelcomeOrWhatsNew(container: Container, version: string, prev return; } - // TODO@eamodio GL14: uncomment when ready to release - const majorPrerelease = false; //satisfies(previous, '< 2023.6.0700'); + const majorPrerelease = satisfies(previous, '< 2023.6.0899'); if (current.major === previous.major && !majorPrerelease) return; diff --git a/src/messages.ts b/src/messages.ts index 3395874..704d34f 100644 --- a/src/messages.ts +++ b/src/messages.ts @@ -179,8 +179,7 @@ export async function showWhatsNewMessage(version: string) { const reset = { title: 'Switch to New Layout' }; const result = await showMessage( 'info', - // TODO@eamodio GL14: update links - `Upgraded to GitLens ${version} — [see what's new](https://help.gitkraken.com/gitlens/gitlens-release-notes-current/ "See what's new in GitLens ${version}").\nWe've rearranged our views for greater focus and productivity, and recommend switching to the new layout — [learn more](https://help.gitkraken.com/gitlens/gitlens-release-notes-current/ "Learn more about what's changed").`, + `Upgraded to GitLens ${version} — [see what's new](https://help.gitkraken.com/gitlens/gitlens-release-notes-current/ "See what's new in GitLens ${version}").\nWe've rearranged our views for greater focus and productivity, and recommend switching to the new layout — [learn more and tell us what you think](https://github.com/gitkraken/vscode-gitlens/discussions/2721 "Learn more about what's changed")!`, undefined, null, reset,