Skip to content

Commit ea9d931

Browse files
Rajdeep Chandracastastrophe
authored andcommitted
chore: updated jsdoc for createGLobalChange function
1 parent c024b43 commit ea9d931

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scripts/update-global-changelog.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ import { version as newVersion } from '@spectrum-web-components/base/src/version
2020
const __dirname = path.dirname(fileURLToPath(import.meta.url));
2121
const repoUrl = 'https://github.com/adobe/spectrum-web-components';
2222

23+
/**
24+
* Creates or updates the global CHANGELOG.md file based on changeset files.
25+
* @returns {Promise<void>} A promise that resolves when the changelog is updated
26+
* @throws {Error} If there's an issue with git tags or file operations
27+
*/
2328
async function createGlobalChangelog() {
2429
if (!newVersion) {
2530
console.error('Error: newVersion is undefined or empty');

0 commit comments

Comments
 (0)