From 238e542e648e09021592d57ba46ebdc6e86bdbbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20SZKIBA?= Date: Mon, 7 Oct 2024 11:12:54 +0200 Subject: [PATCH] fix: ignore CLI args in GitHub Actions mode --- cmd/action.go | 2 ++ releases/v0.1.4.md | 3 +++ 2 files changed, 5 insertions(+) create mode 100644 releases/v0.1.4.md diff --git a/cmd/action.go b/cmd/action.go index 631afe8..67b1d19 100644 --- a/cmd/action.go +++ b/cmd/action.go @@ -17,6 +17,8 @@ func AddGitHubArgs(args []string, flags *pflag.FlagSet) ([]string, error) { return args, nil } + args = make([]string, 0) + flags.Visit(func(flag *pflag.Flag) { args = ghinput(args, flag) }) diff --git a/releases/v0.1.4.md b/releases/v0.1.4.md new file mode 100644 index 0000000..db99afc --- /dev/null +++ b/releases/v0.1.4.md @@ -0,0 +1,3 @@ +🎉 k6dist `v0.1.4` is here! + +Internal maintenance release. \ No newline at end of file