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 {issues} to dynamic commit name format #325

Open
DmitryKandratsenka opened this issue Oct 27, 2021 · 1 comment · May be fixed by #329
Open

add {issues} to dynamic commit name format #325

DmitryKandratsenka opened this issue Oct 27, 2021 · 1 comment · May be fixed by #329

Comments

@DmitryKandratsenka
Copy link

DmitryKandratsenka commented Oct 27, 2021

Sometimes we want to be more flexible and display issue number in any place of commit name (not just in the end and on the next row)
Add {issues} to dynamic commit name format

Can i get access to provide this change myself?

  // @note(emoji) Add space after emoji (breakingChangePrefix/closedIssueEmoji)
  const head = format
    .replace(/\{emoji\}/g, config.disableEmoji ? '' : emoji + ' ')
    .replace(/\{scope\}/g, scope)
    .replace(/\{subject\}/g, subject)
    .replace(/\{issues\}/g, issues)
    .replace(/\{type\}/g, type);
@DataHearth
Copy link
Contributor

You can do a fork and then submit a PR from this yours :).

DmitryKandratsenka added a commit to DmitryKandratsenka/git-cz that referenced this issue Oct 29, 2021
replace issues in commit name dynamically based on provided format
string

✅ Closes: streamich#325
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