diff --git a/pkg/action/hooks.go b/pkg/action/hooks.go index 3dd42d0fc..c2faf6e1a 100644 --- a/pkg/action/hooks.go +++ b/pkg/action/hooks.go @@ -96,8 +96,6 @@ func (cfg *Configuration) execHook(rl *release.Release, hook release.HookEvent, h.LastRun.Phase = release.HookPhaseSucceeded } - cfg.recordRelease(rl) - // If all hooks are successful, check the annotation of each hook to determine whether the hook should be deleted // under succeeded condition. If so, then clear the corresponding resource object in each hook for _, h := range executingHooks {