Skip to content

Commit

Permalink
docs(gh pages): only pull latest version from tags starting with 'v'
Browse files Browse the repository at this point in the history
  • Loading branch information
karolzwolak committed Feb 26, 2025
1 parent 08b8b7e commit 2ef95a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@
.map(tag => tag.name)
.filter(tag => tag.startsWith('v') && !excludedTagVersions.has(tag));

const latestRelease = tags.find(tag => !tag.name.includes('rc'));
this.viewVersion = latestRelease.name;
const latestRelease = tagOptions.find(tag => !tag.includes('rc'));
this.viewVersion = latestRelease;
this.versionOptions = this.versionOptions.concat(tagOptions);
},
async outputHtml() {
Expand Down

0 comments on commit 2ef95a7

Please sign in to comment.