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: single quote(') in commit_message would lead to failure #16

Merged
merged 1 commit into from
Sep 18, 2024

Conversation

kamranf
Copy link
Contributor

@kamranf kamranf commented Sep 18, 2024

Per here, if commit message contains ', notification fails due to bash error:

line 16: syntax error near unexpected token `)'

Workaround would be to store and pass the commit_message and custom_message as an environment variable instead of github action in-place substitution (via ${{ }}).

Testing: per #test-release-notification confirmed notification work as expected:
Screenshot 2024-09-18 at 10 30 29 AM

@kamranf kamranf requested a review from a team as a code owner September 18, 2024 14:31
@kamranf kamranf requested a review from laynax September 18, 2024 14:31
@kamranf kamranf force-pushed the kamranf/fix-error-when-quote-in-message branch from 3e00998 to 1348c81 Compare September 18, 2024 14:34
action.yml Outdated Show resolved Hide resolved
@kamranf kamranf force-pushed the kamranf/fix-error-when-quote-in-message branch from 1348c81 to a41018b Compare September 18, 2024 14:59
Copy link
Member

@terranisu terranisu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍🏻

@kamranf kamranf merged commit 2f794d8 into main Sep 18, 2024
8 checks passed
@kamranf kamranf deleted the kamranf/fix-error-when-quote-in-message branch September 18, 2024 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants