diff --git a/CHANGELOG.md b/CHANGELOG.md index 8b9dab9..55ff263 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,9 +2,9 @@ ## Changelog Summary -- Enhanced version bump and changelog handling. -- Improved commit flow with Launchpad bug integration. -- Enhanced commit message handling by improved sanitization logic, specifically replacing newline characters with escape sequences for better multi-line support. -- Refactored code for improved readability and error handling. -- Utilized temporary files for git commit message construction. -- General code prettification and refactoring for better code organization and functionality. \ No newline at end of file +- Enhanced version bump and changelog handling. +- Improved commit flow with Launchpad bug integration. +- Enhanced commit message handling by improved sanitization logic, specifically replacing newline characters with escape sequences for better multi-line support. +- Refactored code for improved readability and error handling. +- Utilized temporary files for git commit message construction. +- General code prettification and refactoring for better code organization and functionality. diff --git a/version-bump.ts b/version-bump.ts index 12bc107..f1a9d34 100644 --- a/version-bump.ts +++ b/version-bump.ts @@ -27,7 +27,7 @@ function bumpVersion(increment: semver.ReleaseType): string { const readmeContent = fs.readFileSync(readmePath, 'utf8'); const updatedReadmeContent = readmeContent.replace( /!\[Version\]\(https:\/\/img.shields.io\/badge\/version-[\d.]+-blue\)/, - `![Version](https://img.shields.io/badge/version-${newVersion}-blue)` + `![Version](https://img.shields.io/badge/version-${newVersion}-blue)`, ); fs.writeFileSync(readmePath, updatedReadmeContent); console.log(`README.md updated with new version badge ${newVersion}`);