Skip to content

Commit

Permalink
ci(website): avoid including rc when calculate the latest version (#5608
Browse files Browse the repository at this point in the history
)
  • Loading branch information
tisonkun authored Feb 7, 2025
1 parent 0d452cf commit 85e7d55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const config = {
}

const refName = exec(
"git describe --tags --abbrev=0 --match 'v*'",
"git describe --tags --abbrev=0 --match 'v*' --exclude '*rc*'",
).toString();
const version = semver.parse(refName, {}, true);
return `${version.major}.${version.minor}.${version.patch}`;
Expand Down

0 comments on commit 85e7d55

Please sign in to comment.