Commit e467bd2
committed
feat: add init.sh post-initialization script (#88)
Add a post-initialization script that replaces all instances of
function-template-python with the user's function name in:
- package/crossplane.yaml (the Function resource name)
- example/*.yaml (example function references)
This enables the Crossplane CLI's xpkg init command to properly
initialize the template by running the init.sh hook automatically.
Fixes #88
Signed-off-by: Moritz Schmitz von Hülst <moritz@schmitzvonhuelst.de>1 parent 9924336 commit e467bd2
1 file changed
Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
0 commit comments