Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Dist::Zilla Getting rid of {{$NEXT}} at top of Changes file on GitHub

by 1nickt (Abbot)
on Dec 17, 2017 at 23:51 UTC ( #1205757=note: print w/replies, xml ) Need Help??


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 (Vicar) 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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1205757]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2019-11-21 06:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Strict and warnings: which comes first?



    Results (103 votes). Check out past polls.

    Notices?