Skip to content

Commit 5638628

Browse files
committed
fix bug with naming + bump version 0.0.3
Signed-off-by: Luca Stocchi <[email protected]>
1 parent 7877d92 commit 5638628

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "simple-conventional-changelog",
3-
"version": "0.0.2",
3+
"version": "0.0.3",
44
"description": "Simple action to create changelog using conventional commits",
55
"main": "index.js",
66
"scripts": {

src/generator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export class ChangelogBuilder {
5858
const commitTypeObject = this.commitTypes.find((value) => nameCommitType === value.type);
5959
if (commitTypeObject) {
6060
const commitMessage = commitFullMessage.substring(colonIndex + 1).trim();
61-
const message = commitMessage[0].toUpperCase() + commitMessage.split(1);
61+
const message = commitMessage[0].toUpperCase() + commitMessage.substring(1);
6262
if (!templateCategories.has(commitTypeObject.name)) {
6363
templateCategories.set(commitTypeObject.name, [{ message, link }]);
6464
} else {

0 commit comments

Comments
 (0)