Skip to content

Commit

Permalink
ci: release will replace %{VERSION} in source files.
Browse files Browse the repository at this point in the history
  • Loading branch information
LastDragon-ru committed Mar 25, 2024
1 parent 3eb52ac commit b09890e
Show file tree
Hide file tree
Showing 9 changed files with 348 additions and 121 deletions.
12 changes: 12 additions & 0 deletions .release-it/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,18 @@ module.exports = {
file: ['metadata.json', 'packages/*/metadata.json'],
},
},
'@j-ulrich/release-it-regex-bumper': {
out: {
files: [
'*.md',
'docs/*.md',
'packages/**/*.php',
'packages/**/*.md',
],
search: '%{VERSION}',
replace: '{{version}}',
},
},
'@release-it/conventional-changelog': {
preset: {
name: 'conventionalcommits',
Expand Down
Loading

0 comments on commit b09890e

Please sign in to comment.