ci: fix typo in module vendoring

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
David Karlsson 2024-03-07 11:09:13 +01:00
parent 30a63a80f9
commit c867a95b4a
1 changed files with 2 additions and 1 deletions

View File

@ -51,8 +51,9 @@ RUN htmltest
FROM build-base as update-modules
ARG MODULE
RUN <<"EOT"
set -ex
if [ -n "$MODULE" ]; then
go mod edit -dropdreplace ${MODULE/@*/}
go mod edit -dropreplace ${MODULE/@*/}
hugo mod get ${MODULE}
go mod edit -replace ${MODULE/@*/}=${MODULE};
else \