From 8a175c4615a21adaa9ed4b49f60b9b697650ae22 Mon Sep 17 00:00:00 2001 From: Aleksei Lebedev <1329824+LastDragon-ru@users.noreply.github.com> Date: Thu, 28 Mar 2024 16:09:26 +0400 Subject: [PATCH] ci: fix `%{VERSION}` replacement while `release`. --- .release-it/config.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.release-it/config.js b/.release-it/config.js index fe31c402..ae58686b 100644 --- a/.release-it/config.js +++ b/.release-it/config.js @@ -157,10 +157,14 @@ module.exports = { files: [ '*.md', 'docs/*.md', + 'docs/**/.md', 'packages/**/*.php', 'packages/**/*.md', ], - search: '%{VERSION}', + search: { + pattern: '%{VERSION}', + flags: 'g' + }, replace: '{{version}}', }, },