mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-12-04 13:23:26 +01:00
17 lines
511 B
Perl
17 lines
511 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};
|
||
|
|
||
|
$RELEASE_DATE = 'in pre-release'
|
||
|
if ($RELEASE =~ /\d+\.\d+\.\d+-(?:alpha|beta)/)
|
||
|
}
|
||
|
|
||
|
if (/^### Major changes between OpenSSL (\S+) and OpenSSL (\S+) \[under development\]/
|
||
|
&& $count-- > 0) {
|
||
|
$_ = "### Major changes between OpenSSL $1 and OpenSSL $RELEASE_TEXT [$RELEASE_DATE]$'";
|
||
|
}
|