Skip to content

Commit

Permalink
Merge pull request #1259 from kufu/fix/gatsby-source-ui-versions/fix-…
Browse files Browse the repository at this point in the history
…release-commit-check-logic

fix: リリースコミットの判定ロジックを修正
  • Loading branch information
Qs-F authored Sep 5, 2024
2 parents 7d6bf2e + d2c19fa commit cfc99f6
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 cfc99f6

Please sign in to comment.