mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-12-02 13:03:28 +01: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]$'";
|
|
}
|