Skip to content

Commit

Permalink
fix(presets): helpers:pinGitHubActionDigestsToSemver optional v v…
Browse files Browse the repository at this point in the history
…ersioning prefix (#27453)

Co-authored-by: Michael Kriese <[email protected]>
  • Loading branch information
MPV and viceice authored Feb 20, 2024
1 parent 6f7eb8a commit d664fca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/config/presets/internal/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const presets: Record<string, Preset> = {
extends: ['helpers:pinGitHubActionDigests'],
extractVersion: '^(?<version>v\\d+\\.\\d+\\.\\d+)$',
versioning:
'regex:^v(?<major>\\d+)(\\.(?<minor>\\d+)\\.(?<patch>\\d+))?$',
'regex:^v?(?<major>\\d+)(\\.(?<minor>\\d+)\\.(?<patch>\\d+))?$',
},
],
},
Expand Down

0 comments on commit d664fca

Please sign in to comment.