소스 검색

Enables upgrade notification for pre-release

main
Eric Amodio 1 년 전
부모
커밋
1ce30257b3
2개의 변경된 파일2개의 추가작업 그리고 4개의 파일을 삭제
  1. +1
    -2
      src/extension.ts
  2. +1
    -2
      src/messages.ts

+ 1
- 2
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;

+ 1
- 2
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,

불러오는 중...
취소
저장