Skip to content

Commit

Permalink
feat: add new issue type: Spike
Browse files Browse the repository at this point in the history
  • Loading branch information
tagoro9 committed Feb 13, 2023
1 parent c85ee52 commit 8e8fed5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/git/Branch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ const ISSUE_TYPE_TO_BRANCH_PREFIX: { [S in IssueType]: string } = {
[IssueType.BUG]: 'b',
[IssueType.FEATURE]: 'f',
[IssueType.STORY]: 'f',
[IssueType.SPIKE]: 's',
[IssueType.SUB_TASK]: 'f',
[IssueType.TASK]: 'c',
};
Expand Down
1 change: 1 addition & 0 deletions src/templates/getReleaseNotes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ const ISSUE_TYPE_TO_RELEASE_SECTION: { [k in IssueType]: string } = {
[IssueType.SUB_TASK]: 'Features',
[IssueType.BUG]: 'Bug fixes',
[IssueType.STORY]: 'Features',
[IssueType.SPIKE]: 'Features',
[IssueType.FEATURE]: 'Features',
};

Expand Down
1 change: 1 addition & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ export interface DefaultConfig {
export enum IssueType {
BUG = 'Bug',
FEATURE = 'Feature',
SPIKE = 'Spike',
STORY = 'Story',
SUB_TASK = 'Sub-task',
TASK = 'Task',
Expand Down

0 comments on commit 8e8fed5

Please sign in to comment.