From e30220a31200f636a091fccfbe9db6d2afda25d2 Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Thu, 24 Dec 2020 22:54:59 -0800 Subject: Move packaging to distribution.packaging --- lib/App/DocKnot/Update.pm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/App/DocKnot/Update.pm') diff --git a/lib/App/DocKnot/Update.pm b/lib/App/DocKnot/Update.pm index 860b0a2..91e3e24 100644 --- a/lib/App/DocKnot/Update.pm +++ b/lib/App/DocKnot/Update.pm @@ -212,6 +212,12 @@ sub update { delete $data_ref->{bootstrap}; } + # Move packaging to distribution.packaging. + if (defined($data_ref->{packaging})) { + $data_ref->{distribution}{packaging} = $data_ref->{packaging}; + delete $data_ref->{packaging}; + } + # support.cpan is obsolete. If vcs.github is set and support.github is # not, use it as support.github. if (defined($data_ref->{support}{cpan})) { -- cgit v1.2.3