Use Bump Profiles for Custom Hooks
mainBump profiles allow you to define sets of hooks that run before or after a version bump. You can define global profiles in [bump_profiles] or override them within specific monorepo packages.
BumpProfile Options:
pre_bump_hooks: A list of hooks to run before the bump command.post_bump_hooks: A list of hooks to run after the bump command.
Example Global Profile:
[bump_profiles.production]
pre_bump_hooks = ["./scripts/pre-release.sh"]
post_bump_hooks = ["./scripts/post-release.sh"]