Welcome to the Bluefly.io code repository. By logging in, you agree to comply with our terms of service and code of conduct.

Skip to content

fix: resolve tag:production version extraction error

thomas.scola@bluefly.io requested to merge development into main
  • Fix grep pattern to only match root-level version field in package.json
  • Prevent matching the 'version' npm script which was causing shell syntax errors
  • Use '^\s*"version":' pattern to match only the actual version field at line 3
  • Add head -1 to ensure only first match is used
  • Fixes: echo \ /bin/sh: eval: line 200: syntax error: unexpected redirection

Merge request reports

Loading