Add version tag system, for matching if the deployment is the newest one

or not.
This commit is contained in:
yuanhau 2025-06-08 21:36:37 +08:00
parent 61de16e285
commit dd39bc3910
5 changed files with 25 additions and 4 deletions

View file

@ -10,6 +10,7 @@ import {
DialogTitle,
DialogTrigger,
} from "@/components/ui/dialog";
import getVersionTag from "~/versionTag";
import { Button } from "@/components/ui/button";
const { t, locale } = useI18n();
const user = ref("");
@ -294,7 +295,7 @@ const submitChangeAction = async (action: string) => {
</div>
<hr />
<div class="justiy-center align-center text-center">
{{ t("app.settings") }} v0.0.3
{{ t("app.settings") }} v0.0.3 || Version: {{ getVersionTag() }}
</div>
</div>
</template>