File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11CHANGELOG
22=========
33
4- 2.8.0-rc.1 (2016-06-20)
5- -----------------------
4+ 2.8.0-rc1 (2016-06-20)
5+ ----------------------
66
77* IMPORTANT: Java 7 is now required. If you need Java 6 support, please
88 continue using 2.7.0 or earlier.
Original file line number Diff line number Diff line change 55VERSION=$( perl -MFile::Slurp::Tiny=read_file -MDateTime << EOF
66use v5.16;
77my \$ log = read_file(q{CHANGELOG.md});
8- \$ log =~ /\n(\d+\.\d+\.\d+(?:-[\d\ w\.]+)) \((\d{4}-\d{2}-\d{2})\)\n/;
8+ \$ log =~ /\n(\d+\.\d+\.\d+(?:-[\w\.\- ]+)) \((\d{4}-\d{2}-\d{2})\)\n/;
99die 'Release time is not today!' unless DateTime->now->ymd eq \$ 2;
1010say \$ 1;
1111EOF
5959export VERSION
6060# alter the documentation to point to this version
6161perl -pi -e ' s/(?<=<version>)[^<]*/$ENV{VERSION}/' README.md
62- perl -pi -e ' s/(?<=com\.maxmind\.geoip2\:geoip2\:)\d+\.\d+\.\d+([\w\-]+)?/$ENV{VERSION}/' README.md
62+ perl -pi -e ' s/(?<=com\.maxmind\.geoip2\:geoip2\:)\d+\.\d+\.\d+([\w\-\. ]+)?/$ENV{VERSION}/' README.md
6363cat README.md >> $PAGE
6464
6565if [ -n " $( git status --porcelain) " ]; then
You can’t perform that action at this time.
0 commit comments