[Privoxy-devel] changelog

Fabian Keil fk at fabiankeil.de
Sat Oct 27 18:33:22 UTC 2018


Lee <ler762 at gmail.com> wrote:

> How's this?
> 
> $ cat makeChangeLog
> #!/usr/bin/awk -f
> # take output from
> #   git log [last release tag]..HEAD
> # and reformat as a ChangeLog
> /^commit /  { new = 1; next }
> /^Merge: /  { next }
> /^Author: / { next }
> /^Date: /   { next }
> /^  *$/     { next } # ignore blank lines
> /^ / {
>     if ( new ) {
>         new = 0
>         sub("^   ", "  -", $0); # 1st line of a change
>     }
>     print $0
> }

Looks good to me.

Fabian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.privoxy.org/pipermail/privoxy-devel/attachments/20181027/a3978792/attachment.bin>


More information about the Privoxy-devel mailing list