When releasing, allow certain replacements.

This commit is contained in:
monopole
2021-04-30 17:08:16 -07:00
parent 7716b1bd3d
commit b6fba0ad5c
4 changed files with 54 additions and 6 deletions

View File

@@ -71,7 +71,8 @@ func actualMain() error {
case arguments.UnPin:
return mgr.UnPin(args.DoIt(), targetModule, conditionalModule)
case arguments.Release:
return mgr.Release(targetModule, args.Bump(), args.DoIt())
return mgr.Release(
targetModule, args.Bump(), args.AllowedReplacements(), args.DoIt())
case arguments.UnRelease:
return mgr.UnRelease(targetModule, args.DoIt())
case arguments.Debug: