Skip to content

http://registry.gitlab.com/gitlab-org/release-cli doesn't handle backquote in the commit title

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Summary

http://registry.gitlab.com/gitlab-org/release-cli tries to evaluate text that is put between backquotes in the commit title.

Running with gitlab-runner 17.7.1 (6669abcf)
  on runners-shared-default t1_Ry1yg, system ID: r_34v5SeLjg9db
  feature flags: FF_USE_FASTZIP:true, FF_SCRIPT_SECTIONS:true, FF_USE_ADVANCED_POD_SPEC_CONFIGURATION:true, FF_PRINT_POD_EVENTS:true
[...]
Using Kubernetes executor with image registry.gitlab.com/gitlab-org/release-cli:latest ...
[...]
Executing "step_release" stage of the job script
$ release-cli create --description "BLOC-5184: add `tach` to validate package dependencies
/scripts-2331-10423013/step_release: eval: line 237: tach: not found
[...]

Proposal

Whatever fits best:

  • use single quote to prevent evaluation of the commit title
  • escape special chars in the commit title
Edited by 🤖 GitLab Bot 🤖