https://blue-build.org/ logo
Squash error even though squash is not on?
# questions
x
most likely a bug, feel free to file the issue here https://github.com/blue-build/github-action/
f
I think the bug is in
build_opts_check.sh
script. https://github.com/blue-build/github-action/blob/main/build_opts_check.sh
grep
doesn't check for explicit wording, but for similar one. so any option that starts with
-s
will be wrongly treated as squash provided option.
grep -o
doesn't solve the issue either, so I would use
awk
here.
Copy code
gidro@gidro-fedora:~$ grep -E '(-s)|(--squash)' <<< "--no-sign"
--no-sign
x
The bugfix is now merged and should releave with the GHA
v1.8.1
in a few moments.