deployer icon indicating copy to clipboard operation
deployer copied to clipboard

Deploy fails if GIT user.name contains a single quote

Open eleftrik opened this issue 2 years ago • 1 comments

  • Deployer version: 7.0.0
  • Deployment OS: MacOS 12.5

If GIT user.name config property contains a single quote (e.g. "Erik D'Ercole", as my full name), Deployer exits with an error:

[staging] run cd /__OMISSIS__/project-folder && (echo '{"created_at":"2022-08-16T16:46:26+0000","release_name":"13","user":"Erik D'Ercole","target":"staging"}' >> .dep/releases_log)
[staging] bash: line 1: unexpected EOF while looking for matching `"'
[staging] bash: line 2: syntax error: unexpected end of file
[staging]  error  in release.php on line 119:
[staging] exit code -1 (Unknown error)

Thank you

eleftrik avatar Aug 16 '22 17:08 eleftrik

Hmm, true)

antonmedv avatar Aug 16 '22 21:08 antonmedv

@antonmedv Thanks! Have you already planned a release including this commit?

encodiaweb avatar Oct 07 '22 15:10 encodiaweb

Yes, coming.

antonmedv avatar Oct 07 '22 17:10 antonmedv