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

fix: [M3-7081] - Quote variable in changeset shell command #9791

Merged
merged 2 commits into from
Oct 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions packages/manager/.changeset/pr-9791-fixed-1697461463011.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Fixed
---

Quote variable in changeset shell command ([#9791](https://github.com/linode/manager/pull/9791))
2 changes: 1 addition & 1 deletion scripts/changelog/changeset.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ async function generateChangeset() {
}

try {
const addCmd = `git add ${changesetFile}`;
const addCmd = `git add "${changesetFile}"`;
// This allows backticks in the commit message. We first need to sanitize against any number of backslashes
// that appear before backtick in description, to avoid having unescaped characters. Then we can add back
// two backslashes before the backtick to make sure backticks show up in the commit message.
Expand Down