Skip to content

Commit dc9684a

Browse files
committed
testingreleasenotes'
1 parent 3a919c3 commit dc9684a

File tree

3 files changed

+29
-6
lines changed

3 files changed

+29
-6
lines changed
Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
const { Octokit } = require("@octokit/rest");
2-
const fs = require('fs');
3-
const path = require('path');
1+
// Import the Octokit module using ES Module syntax
2+
import { Octokit } from "@octokit/rest";
3+
import fs from 'fs';
4+
import path from 'path';
45

6+
// Initialize Octokit with authentication
57
const octokit = new Octokit({
68
auth: process.env.GITHUB_TOKEN,
79
});
@@ -104,7 +106,7 @@ ${releaseNotes.map(note => `- ${note}`).join('\n')}
104106
Release Date: ${new Date().toISOString()}
105107
`;
106108

107-
if (!fs.existsSync(releaseNotesDir)) {
109+
if (!fs.existsSync(releaseNotesDir)) {
108110
fs.mkdirSync(releaseNotesDir);
109111
}
110112

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"@mdx-js/mdx": "2.0.0-next.8",
1212
"@mdx-js/react": "2.0.0-next.8",
1313
"@newrelic/gatsby-theme-newrelic": "9.11.1",
14-
"@octokit/rest": "^21.1.1",
14+
"@octokit/rest": "^20.18.0",
1515
"@splitsoftware/splitio-react": "^1.2.4",
1616
"ansi-colors": "^4.1.3",
1717
"cockatiel": "^3.0.0-beta.0",
@@ -231,7 +231,8 @@
231231
"verify-install-page": "node scripts/verifyInstallPage.js",
232232
"verify-mdx": "node scripts/verify_mdx.js",
233233
"webdriver-desktop": "node scripts/actions/webdriver-desktop.mjs",
234-
"webdriver-mobile": "node scripts/actions/webdriver-mobile.mjs"
234+
"webdriver-mobile": "node scripts/actions/webdriver-mobile.mjs",
235+
"generate-release-notes": "node generate-release-notes.mjs"
235236
},
236237
"repository": {
237238
"type": "git",

release-notes/release-notes.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Docs Release Notes for 1
2+
3+
## Release Overview
4+
- new change
5+
- (chore): redirect-update
6+
7+
## New Documentation
8+
- [src/content/docs/serverless-function-monitoring/aws-lambda-monitoring/response-stream.mdx](https://github.com/WriteMayur/docs-website/pull/2): Added response streaming configuration information
9+
10+
## Major Changes
11+
12+
13+
## Minor Changes
14+
- [new change](https://github.com/WriteMayur/docs-website/pull/2): Added response streaming configuration information
15+
- [(chore): redirect-update](https://github.com/WriteMayur/docs-website/pull/1): Added the correct redirects to fix broken link issue in the docs. Also added a callout in the Amazon Q integration doc
16+
17+
## Release Notes
18+
19+
20+
Release Date: 2025-03-24T05:57:32.013Z

0 commit comments

Comments
 (0)