1#! /usr/bin/env perl -p 2 3BEGIN { 4 our $count = 1; # Only the first one 5 our $RELEASE = $ENV{RELEASE}; 6 our $RELEASE_TEXT = $ENV{RELEASE_TEXT}; 7 our $RELEASE_DATE = $ENV{RELEASE_DATE}; 8 9 $RELEASE_DATE = 'in pre-release' 10 if ($RELEASE =~ /\d+\.\d+\.\d+-(?:alpha|beta)/) 11} 12 13if (/^### Major changes between OpenSSL (\S+) and OpenSSL (\S+) \[under development\]/ 14 && $count-- > 0) { 15 $_ = "### Major changes between OpenSSL $1 and OpenSSL $RELEASE_TEXT [$RELEASE_DATE]$'"; 16} 17