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

[BUG] #7

Open
Justin-JHG opened this issue Jun 7, 2022 · 6 comments
Open

[BUG] #7

Justin-JHG opened this issue Jun 7, 2022 · 6 comments
Labels
bug Something isn't working

Comments

@Justin-JHG
Copy link

Describe the bug
action failing when commit message has '(' or ')' in it

To Reproduce
commit a change with message: proj-001 and proj-002 (this bit will cause error)

Expected behavior
action to find proj-001 and proj-002 and assign a release

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. macOS]
  • Tool: [e.g. dockerized or binary]

Additional context
Add any other context about the problem here.

@Justin-JHG Justin-JHG added the bug Something isn't working label Jun 7, 2022
@marcelblijleven
Copy link
Owner

Can you provide the error message or a screenshot?

@Justin-JHG
Copy link
Author

@marcelblijleven
case 1: there are multiple lines in commit message

image

@Justin-JHG
Copy link
Author

case 2: commit message includes '(' or ')'
image

@Justin-JHG
Copy link
Author

so I trigged above errors by doing the following commit :

  • the commit message has ()
  • there is a additional description field populated
    image

@marcelblijleven
Copy link
Owner

Can you try wrapping the values for body / message in quotes in the Github Action? Like this: -b "${ ... }"

@Justin-JHG
Copy link
Author

Can you try wrapping the values for body / message in quotes in the Github Action? Like this: -b "${ ... }"

Wow,that worked, thank you so much.

Now another issue is it's can't locate lower case jira issue keys if proj code is upper case.
Is it possible to enhance that?
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants