1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-06 03:13:48 +02:00
goreleaser/internal
Florent Lecoultre 159211ae78
fix: add -c flags when building go test (#4473)
when building a go test without the `-c` flag like so:
```yaml
 builds:
- command: test
  binary: env.test
  dir: ./internal/builders/golang
  no_main_check: true
  ```

will result in the error: `exit status 1: fork/exec : exec format error`

adding the -c flags when not present in the flags
adding unit test

https://github.com/goreleaser/goreleaser/issues/4462

---------

Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-12-12 17:41:02 -03:00
..
archivefiles refactor: add function to apply template multiple times (#4158) 2023-06-30 14:46:53 -03:00
artifact test: fix 2023-08-07 12:11:10 +00:00
builders fix: add -c flags when building go test (#4473) 2023-12-12 17:41:02 -03:00
client fix(github): do not fail branch creation if it already exists (#4471) 2023-12-12 16:12:07 -03:00
commitauthor test: testctx pkg (#3807) 2023-03-02 00:01:11 -03:00
deprecate feat: improve output (#4206) 2023-07-25 08:26:44 -03:00
exec feat: improve template error handling (#4256) 2023-08-24 22:06:12 -03:00
extrafiles feat: improve template error handling (#4256) 2023-08-24 22:06:12 -03:00
gio refactor: gio.Chtimes (#4191) 2023-07-15 16:33:40 -03:00
git fix: git.ignore_tags not working (#4322) 2023-09-23 02:37:48 -03:00
golden feat: winget support (#4081) 2023-06-14 23:59:55 -03:00
http feat: remove deprecated replacements (#4075) 2023-06-06 11:46:02 -03:00
ids
logext feat: improve output (#4206) 2023-07-25 08:26:44 -03:00
middleware feat: continue on error (#4127) 2023-06-20 09:33:59 -03:00
pipe feat: allow to template builds.gobinary (#4454) 2023-12-04 23:00:11 -03:00
pipeline feat: improve --single-target (#4442) 2023-11-27 18:29:50 -03:00
semerrgroup style: spelling and grammar fixes (#4069) 2023-06-05 13:08:57 -03:00
shell feat: improve project and build hooks error handling 2023-11-29 22:01:13 -03:00
skips feat: --skip=homebrew 2023-11-03 21:47:09 -03:00
static docs: fix typos (#4406) 2023-11-06 09:14:07 -03:00
testctx feat: improve --single-target (#4442) 2023-11-27 18:29:50 -03:00
testlib refactor: improve ssh key gen on tests 2023-10-06 14:16:58 +00:00
tmpl fix: .Amd64 in build hooks 2023-11-02 12:47:00 +00:00
yaml