~gagbo/rustpad

043cd37c74a9ad81ea4a0a6d79c76ab690d0cc65 — Gerry Agbobada 4 months ago 86f34a8 v1.0.0-beta.1
Fix version description string
2 files changed, 3 insertions(+), 3 deletions(-)

M Dockerfile
M src/Footer.tsx
M Dockerfile => Dockerfile +1 -1
@@ 25,7 25,7 @@ COPY . .
ARG GIT_SHA
ARG GIT_DESC
ENV VITE_SHA=${GIT_SHA}
ENV GIT_DESC=${GIT_DESC}
ENV VITE_GIT_DESC=${GIT_DESC}
RUN npm run build

FROM scratch

M src/Footer.tsx => src/Footer.tsx +2 -2
@@ 6,8 6,8 @@ import { Flex, Icon, Text } from "@chakra-ui/react";
import { VscRemote } from "react-icons/vsc";

const version =
  typeof import.meta.env.GIT_DESC === "string"
    ? import.meta.env.GIT_DESC
  typeof import.meta.env.VITE_GIT_DESC === "string"
    ? import.meta.env.VITE_GIT_DESC
    : "development";

function Footer() {