--- replacements: - files: - README.md - container/readme.md - project-automation/readme.md - project-automation/semantic-release.yml - project-automation/release/releaserc-default.cjs from: 'v\d+\.\d+\.\d+(-[A-Za-z0-9.]+)?' to: "v${nextRelease.version}" countMatches: true - files: - pipelines/project-automation.yml from: 'UPDATE_CHECK_CURRENT_VERSION: v\d+\.\d+\.\d+(-[A-Za-z0-9.]+)?' to: "UPDATE_CHECK_CURRENT_VERSION: v${nextRelease.version}" countMatches: true # Bump the releaserc URL ref to the new tag regardless of current ref # (main / SHA / version). Guards against file renames stranding the URL # at a tag that lacks the new filename (see merge b927a7a). - files: - project-automation/semantic-release.yml from: "/-/raw/[^/]+/project-automation/release/" to: "/-/raw/v${nextRelease.version}/project-automation/release/" countMatches: true