Fix for new version variable name

This commit is contained in:
Justin Hawkins 2017-02-28 22:14:41 +10:30
parent 8ded2b2e2d
commit 3693d94297

View File

@ -7,7 +7,7 @@ open my $fh, "<", "dau.go" || die $!;
my $version; my $version;
while (<$fh>) { while (<$fh>) {
$version = $1 if /^const\s+current_version.*?"([\d\.]+)"/; $version = $1 if /^const\s+currentVersion.*?"([\d\.]+)"/;
} }
close $fh; close $fh;