Skip to content

Commit

Permalink
fix: リリースコミットの判定ロジックを修正
Browse files Browse the repository at this point in the history
  • Loading branch information
Qs-F committed Sep 4, 2024
1 parent 7d6bf2e commit d2c19fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/gatsby-source-ui-versions/fetchUiVersions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export const fetchUiVersions = async (cachedData: UiVersion[], options: UiVersio
const versions: UiVersion[] = []

for (const item of releases) {
const versionText = item.commit.message.match(/chore\(release\):\s(\d+\.\d+\.\d+)\s/)
const versionText = item.commit.message.match(/chore\(release\):\sv?(\d+\.\d+\.\d+)\s/)
const version = versionText && versionText.length > 1 ? versionText[1] : null
if (version === null) continue

Expand Down

0 comments on commit d2c19fa

Please sign in to comment.