Skip to content

Run gzip with --force option during BOM file compression

gzip command fails to compress the BOM file if the compressed file already exists. This might happen during a re-run of a recipe, if the previous artifact files were kept.

To avoid failing in these cases, let's run gzip with --force option enabled. This way, it will overwrite the previous compressed file.

Merge request reports