Sfoglia il codice sorgente

Enables upgrade notification for pre-release

main
Eric Amodio 1 anno fa
parent
commit
1ce30257b3
2 ha cambiato i file con 2 aggiunte e 4 eliminazioni
  1. +1
    -2
      src/extension.ts
  2. +1
    -2
      src/messages.ts

+ 1
- 2
src/extension.ts Vedi File

@ -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;

+ 1
- 2
src/messages.ts Vedi File

@ -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,

Caricamento…
Annulla
Salva