1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-07-24 07:39:41 +02:00

chore: auto-set-version-on-ci (#2188)

* setup __version__ on build

* make build clickable link

* fix else-if
This commit is contained in:
Hayden 2023-02-26 11:51:04 -09:00 committed by GitHub
parent ac0432d47a
commit d3f893dec2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 17 additions and 1 deletions

View file

@ -151,6 +151,13 @@
</a>
</v-list-item-subtitle>
</template>
<template v-else-if="property.slot === 'build'">
<v-list-item-subtitle>
<a target="_blank" :href="`https://github.com/hay-kot/mealie/commit/${property.value}`">
{{ property.value }}
</a>
</v-list-item-subtitle>
</template>
<template v-else>
<v-list-item-subtitle>
{{ property.value }}
@ -369,6 +376,7 @@ export default defineComponent({
value: data.version,
},
{
slot: "build",
name: "Build",
icon: $globals.icons.information,
value: data.buildId,