Fix asset minify errors in release scripts
Two errors came up when running minify-assets.sh
as part of the 15.0 release process:
Compressing /site/13.12/omnibus/architecture/registry/gitlab-registry-architecture.png
Removing intermediate container 61f13ce307f3
---> Running in 5885f6541eb1
Optimizing assets...HTML...CSS...ERROR: cannot minify /site/13.12/ee/development/fe_guide/style/scss.html: parse error:7430:8: unexpected ending in qualified rule, expected left brace token
7430: </html>
^
JSON...ERROR: open /site/13.12/: is a directory
SVG...Done
Removing intermediate container 5885f6541eb1
---> Running in 7212e1a551bb
These don't appear to have any visitor-facing negative affects but they can cause concern when looking at build logs.
The first error was due to the name of the scss.html
file causing it to be treated as a CSS file (this has been resolved but was not backported to 13.12).
Edited by Sarah German