@pixelated-tech/components 3.5.7 → 3.5.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -116,7 +116,8 @@ async function runPrepCommands(siteName, versionType, commitMessage, localPath)
116
116
  results.push('Built project successfully');
117
117
  // Commit changes
118
118
  await execAsync(`git add . -v`, { timeout: 60000, cwd: localPath });
119
- await execAsync(`git commit -m "${commitMessage.replace(/"/g, '\\"')}"`, { timeout: 60000, cwd: localPath });
119
+ const escapedMessage = commitMessage.replace(/'/g, "'\\''");
120
+ await execAsync(`git commit -m "${escapedMessage}"`, { timeout: 60000, cwd: localPath });
120
121
  results.push(`Committed changes: ${commitMessage}`);
121
122
  // Get the new version
122
123
  const { stdout: version } = await execAsync('node -p "require(\'./package.json\').version"', { cwd: localPath });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pixelated-tech/components",
3
- "version": "3.5.7",
3
+ "version": "3.5.10",
4
4
  "private": false,
5
5
  "author": {
6
6
  "name": "Pixelated Technologies",