Create a CLI option --merge-ruleset and --merge-ruleset-gzip that optionally merges the rulesets into a single file for release.
I'm not familiar enough with Github CI/CD and goreleaser to make changes with the releaser, but ideally the ruleset.yaml should be distributed with the release files.
Something like this in .github/workflows/release-binaries.yaml
name: Build rulesets for release
run: |
go run cmd/main.go --ruleset "./rulesets" --merge-rulesets --merge-rulesets-output "ruleset.yaml"
This PR does the following:
ruleset.yaml
into an organized directory of smaller rulesets.Create a CLI option
--merge-ruleset
and--merge-ruleset-gzip
that optionally merges the rulesets into a single file for release.I'm not familiar enough with Github CI/CD and goreleaser to make changes with the releaser, but ideally the ruleset.yaml should be distributed with the release files.
Something like this in
.github/workflows/release-binaries.yaml