From e78489fec9af5a2794f92021f3eaad1714befefb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rge=20N=C3=A6ss?= Date: Wed, 21 Dec 2022 16:17:48 +0100 Subject: [PATCH] chore: upgrade release notes template for 2.x --- scripts/printReleaseNotesTemplate.js | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/scripts/printReleaseNotesTemplate.js b/scripts/printReleaseNotesTemplate.js index 14aa5f32114..44fc5931a59 100644 --- a/scripts/printReleaseNotesTemplate.js +++ b/scripts/printReleaseNotesTemplate.js @@ -1,12 +1,22 @@ const CHANGELOG_COMMAND = - "git log --pretty=format:'%aN | %s | %h' --abbrev-commit --reverse $(git describe --abbrev=0)..origin/next" + "git log --pretty=format:'%aN | %s | %h' --abbrev-commit --reverse $(git describe --abbrev=0)..origin/2.x-next" const execa = require('execa') const TEMPLATE = ` -Upgrade the Command Line Interface (CLI) with: +**⚠️ THIS IS A MAINTENANCE RELEASE OF A PREVIOUS MAJOR VERSION OF SANITY** - npm install --global @sanity/cli +We recommend updating to Sanity Studio v3 which provides exceptional flexibility and an unparalleled developer experience. The core packages for Sanity Studio v2 will only receive critical bug fixes until Dec 7th, 2023 + +Please head over to the documentation for [Sanity Studio v3](https://www.sanity.io/docs/sanity-studio) to learn more. + +You can find [migration guides from Studio v2 here](https://www.sanity.io/docs/migrating-from-v2). + +## Installation and upgrading + +Upgrade the **v2 version** of the Command Line Interface (CLI) with: + + npm install --global @sanity/cli@v2 Upgrade Sanity Studio with: