Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add three new jiraLocations to support having jira ticket in both the header and the footer #69

Conversation

schnitty
Copy link

add pre-type-and-post-body, pre-description-and-post-body, and post-description-and-post-body as options to jiraLocation.
When either of these new locations are selected the jira ticket will appear in two places in the commit message, once in the header (pre-type, pre-description, post-description.

i.e:

pre-type-and-post-body:

JIRA-1234 type(scope): commit subject

JIRA-1234
JIRA-1234 type(scope): commit subject

this is a commit body

JIRA-1234

pre-description-and-post-body:

type(scope): JIRA-1234 commit subject

JIRA-1234
type(scope): JIRA-1234 commit subject

this is a commit body

JIRA-1234

post-description-and-post-body:

type(scope): commit subject JIRA-1234

JIRA-1234
type(scope): commit subject JIRA-1234 

this is a commit body

JIRA-1234

closes: #68

add pre-type-and-post-body tests
add pre-description-and-post-body tests
add post-description-and-post-body tests
add pre-type-and-post-body jiraLocation
add pre-description-and-post-body jiraLocation
add post-description-and-post-body jiraLocation
ensure jiraTicket included in post-body in any jiraLocations that end with 'post-body'

closes: digitalroute#68
add pre-type-and-post-body docs
add pre-description-and-post-body docs
add post-description-and-post-body docs
@juliuscc
Copy link
Collaborator

Please see the comments in the issue. Let's resolve that discussion before merging any PRs 😁

@schnitty schnitty force-pushed the feature/add-jira-locations-to-include-in-header-and-footer branch from 8f82963 to a68cc1f Compare September 13, 2022 06:57
@juliuscc juliuscc closed this Oct 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants