7 Commits

Author SHA1 Message Date
Sameen Karim 08dc2da933 rm test workflow 2026-04-08 02:46:26 -04:00
Sameen Karim 214b90eff2 init docs site 2026-04-03 15:28:11 -04:00
copilot-swe-agent[bot] c4caac744a fix: use = syntax in go_build_options ldflags to avoid word-splitting
The release workflow was passing `-ldflags '-X ...'` via `go_build_options`,
which gets set as the `GO_BUILD_OPTIONS` environment variable. In
`build_and_release.sh`, this variable is expanded unquoted (`${GO_BUILD_OPTIONS}`),
so bash word-splits it on spaces. Single quotes inside an unquoted variable
expansion are literal characters, not shell quotes - causing `'-X` (with the
literal quote character) to be passed as the value for `-ldflags`, which is
invalid.

Fix: use `-ldflags=-X=path.Var=value` (no spaces, single token) so bash word
splitting produces exactly one argument. The `=` syntax is supported by both
the Go build tool (for `-ldflags`) and the Go linker (for `-X`).

Co-authored-by: skarim <1701557+skarim@users.noreply.github.com>
Agent-Logs-Url: https://github.com/github/gh-stack/sessions/7f8aece9-d05c-478e-8864-ff0b5e00b3a8
2026-03-25 03:44:16 +00:00
Sameen Karim b99f7257e0 set release version via ldflags 2026-03-24 17:29:39 -04:00
Sameen Karim 487f148ff2 Fix workflow permissions warning 2026-03-12 20:20:54 -04:00
Sameen Karim 50c8999f78 add basic tests 2026-03-12 19:13:05 -04:00
Sameen Karim c6da4fcc1a init gh cli extension 2026-02-05 00:29:25 -05:00