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

escape commit messages #23

Open
ThomasHappyHotel opened this issue Jan 26, 2024 · 0 comments
Open

escape commit messages #23

ThomasHappyHotel opened this issue Jan 26, 2024 · 0 comments

Comments

@ThomasHappyHotel
Copy link

Topic
Escape commit messages to not break sed command.

Explaination
I have tried using change today at my repository. Unfortunately it was not fully possible because some old commit messages have the | character which breaks the sed command.

added 1.1.5 to CHANGELOG.md
sed: 7: "s|\(^## \[1.1.5\] -.*$\ ...": bad flag in substitute command: '?'
added 1.1.6 to CHANGELOG.md
added 1.18.5 to CHANGELOG.md
sed: 18: "s|\(^## \[1.18.5\] -.*$ ...": bad flag in substitute command: '|'
added 1.19.0 to CHANGELOG.md

Questions
Ask any questions relevant to the topic.

Links
Add any related links or references.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant