diff --git a/.eslintrc b/.eslintrc index 9823705e3d55aa76dc2ffe591d4ca589e9b8bc90..69a1841891c0c9f4e6cdb8389fcee4e259294b48 100644 --- a/.eslintrc +++ b/.eslintrc @@ -146,7 +146,8 @@ "frontend/lint/**/*", "*.stories.*", "e2e/**/*", - "**/tests/*" + "**/tests/*", + "release/**/*" ], "rules": { "no-unconditional-metabase-links-render": "off", diff --git a/release/src/release-notes.ts b/release/src/release-notes.ts index a2dc23b0c4143c4cc6d7daedcfd4c0c950adfb38..ce3f477a2842d4a124e9926d4703242eccfc06c2 100644 --- a/release/src/release-notes.ts +++ b/release/src/release-notes.ts @@ -8,14 +8,6 @@ import { import type { ReleaseProps, Issue } from "./types"; const releaseTemplate = `# NOTE: clean up 'Enhancements' and 'Bug fixes' sections and remove this line before publishing! -**Enhancements** - -{{enhancements}} - -**Bug fixes** - -{{bug-fixes}} - **Upgrading** You can download a .jar of the release, or get the latest on Docker. Make sure to back up your Metabase @@ -31,6 +23,20 @@ SHA-256 checksum for the {{version}} JAR: \`\`\` {{checksum}} \`\`\` + +<details> +<summary><h2>Changelog</h2></summary> + +**Enhancements** + +{{enhancements}} + +**Bug fixes** + +{{bug-fixes}} + +</details> + `; const isBugIssue = (issue: Issue) =>