From 78f50f24b3ff87f5f1e0227e2cdd2599a39add82 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Sun, 16 Jun 2024 10:00:56 +0000 Subject: feat(index.html): show version if available --- Earthfile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Earthfile') diff --git a/Earthfile b/Earthfile index bd8756b..cb4ea5d 100644 --- a/Earthfile +++ b/Earthfile @@ -11,6 +11,11 @@ docker: COPY +build/erlang-shipment/ /mayu/erlang-shipment/ COPY themes/ /mayu/themes/ COPY index.html /mayu/ + COPY gleam.toml /mayu/ + + ENV MAYU_VERSION=$(grep version /mayu/gleam.toml | cut -d '"' -f 2) + + RUN rm /mayu/gleam.toml WORKDIR /mayu/ -- cgit v1.2.3