Skip to content

Commit

Permalink
SKA: Relocate script v5.1 (elastic#204563)
Browse files Browse the repository at this point in the history
## Summary

Replace references in `.xml` and `.snap` files too (thanks @kapral18)
  • Loading branch information
gsoldevila authored and JoseLuisGJ committed Dec 19, 2024
1 parent d69be6d commit 9b5b790
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions packages/kbn-relocate/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,10 @@ export const EXTENSIONS = [
'mdz',
'asciidoc',
'sh',
'snap',
'ts',
'jsonc',
'xml',
'yaml',
'yml',
];
Expand Down
4 changes: 3 additions & 1 deletion packages/kbn-relocate/relocate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,8 @@ export const findAndRelocateModules = async (params: RelocateModulesParams, log:
log.info(`Access the PR at: https://github.com/elastic/kibana/pull/${prNumber}`);
} else {
log.info('TIP: Run the following command to quickly create a PR:');
log.info(`$ gh pr create -d -t "<title>" -F ${DESCRIPTION} -R elastic/kibana`);
log.info(
`$ gh pr create -d -B "${baseBranch}" -t "<title>" -F ${DESCRIPTION} -R elastic/kibana`
);
}
};

0 comments on commit 9b5b790

Please sign in to comment.