Skip to content

Commit

Permalink
fix downloading x.y versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ztimms73 committed Mar 22, 2024
1 parent f449a3b commit 96c1515
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .vitepress/theme/components/DownloadButtons.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ import { data as release } from "../data/release.data"
const downloadInformation = computed(() => ({
stable: {
tagName: release.stable.tag_name ?? "v0.0.0",
asset: (release.stable.assets ?? [])
.find((a) => /^kotatsu-\d+\.\d+\.\d+-release.apk/.test(a.name)),
asset: (release.stable.assets ?? []).find((a) => /^kotatsu-(\d+\.)?(\d+\.)?(\*|\d+)-release.apk/.test(a.name)),
},
}))
Expand Down

0 comments on commit 96c1515

Please sign in to comment.