MCPcopy Index your code
hub / github.com/getsentry/sentry-javascript / createEntry

Function createEntry

scripts/generate-changelog.ts:46–55  ·  view source on GitHub ↗
(content: string, type: EntryType)

Source from the content-addressed store, hash-verified

44}
45
46function createEntry(content: string, type: EntryType): ChangelogEntry {
47 const firstLine = content.split('\n')[0] ?? content;
48 const prNumber = extractPRNumber(firstLine);
49 return {
50 type,
51 content,
52 sortKey: extractSortKey(firstLine),
53 prNumber,
54 };
55}
56
57function parseChangelog(unreleasedLines: string[]): ParsedChangelog {
58 const importantChanges: ChangelogEntry[] = [];

Callers 3

flushCurrentEntryFunction · 0.85
processDetailsContentFunction · 0.85
runFunction · 0.85

Calls 2

extractPRNumberFunction · 0.85
extractSortKeyFunction · 0.85

Tested by

no test coverage detected