owncloud / docs-ui

Custom Antora UI theme for the official ownCloud documentation.
GNU Affero General Public License v3.0
8 stars 3 forks source link

fix: perform clean build on `gulp pack` #790

Closed DeepDiver1975 closed 4 months ago

DeepDiver1975 commented 4 months ago

Add a clean step when building the bundle. This deletes existing contens of the build and public folders.

When creating a bundle locally now, we will get the same result as when building via the CI. Before, when not cleaning the public folder, you will get a ui-bundle.zip file with content while on CI where there was no public folder and the zip file contained crap.

With this PR, we can now identify dependency updates breaking the system when doing local tests.