in reply to [SOLVED] Dist::Zilla Getting rid of {{$NEXT}} at top of Changes file on GitHub

No, that would be silly because the version of CHANGES that you store in your source code repository is a template used to build the actual CHANGES file that is included in each release of your software distribution, and the {{NEXT}} token is used to generate the file and prepend the date and version info to the text you add before building.

(Terminology emphasized for distinction.)


The way forward always starts with a minimal test.

Replies are listed 'Best First'.
Re^2: Dist::Zilla Getting rid of {{$NEXT}} at top of Changes file on GitHub
by nysus (Parson) on Dec 18, 2017 at 01:17 UTC

    Right, I get that. But I'm wondering if there might be a plugin to clean it up before it is committed. I'm thinking of taking a stab at it.

    $PM = "Perl Monk's";
    $MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest";
    $nysus = $PM . ' ' . $MCF;
    Click here if you love Perl Monks

      Right, I get that. But I'm wondering if there might be a plugin to clean it up before it is committed.

      I don't think you do get it :-) If you remove the token, you're not "cleaning up" the template, you're breaking it!


      The way forward always starts with a minimal test.

        Nope, I get it. I solved it. See OP.

        $PM = "Perl Monk's";
        $MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest";
        $nysus = $PM . ' ' . $MCF;
        Click here if you love Perl Monks

      I had to update the solution in the OP a bit. The solution got mangled while editing. And it reminded me that I had a question. I'm forced to use [Run::AfterRelease / MyAppAfter] for the second run command. It's not clear at all to me what the / MyAppAfter bit does.

      $PM = "Perl Monk's";
      $MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest";
      $nysus = $PM . ' ' . $MCF;
      Click here if you love Perl Monks