build fails on faulty quotes when --version parameter is used
invalid value "\"-X github.com/restechnica/semverbot/internal/ldflags.Version=1.7.0\"" for flag -ldflags: parameter may not start with quote character "
usage: go build [-o output] [build flags] [packages]
Run 'go help build' for details.
Error: nu::shell::non_zero_exit_code
× External command had a non-zero exit code
╭─[/private/tmp/semverbot-20240923-8347-osguf7/semverbot-1.7.0/main.nu:34:5]
33 │ let options = ["build", "-o", $binary_path] ++ $build_options
34 │ run-external go ...$options
· ──────┬─────
· ╰── exited with code 2
35 │ print $"built ($binary_path)"
╰────
build fails on faulty quotes when
--version
parameter is used