mirror of
https://github.com/openssl/openssl.git
synced 2024-12-21 06:09:35 +08:00
14 lines
367 B
Perl
14 lines
367 B
Perl
|
#! /usr/bin/env perl -p
|
||
|
|
||
|
BEGIN {
|
||
|
our $count = 1; # Only the first one
|
||
|
our $RELEASE = $ENV{RELEASE};
|
||
|
our $RELEASE_TEXT = $ENV{RELEASE_TEXT};
|
||
|
our $RELEASE_DATE = $ENV{RELEASE_DATE};
|
||
|
}
|
||
|
|
||
|
if (/^### Changes between (\S+) and (\S+) \[xx XXX xxxx\]/
|
||
|
&& $count-- > 0) {
|
||
|
$_ = "### Changes between $1 and $RELEASE_TEXT [$RELEASE_DATE]$'";
|
||
|
}
|