[Koha-bugs] [Bug 25442] Release dates are missing from the timeline
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Jun 5 17:25:57 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25442
--- Comment #9 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Please share the script in the release-tools repo.
My code was:
my $tags = `git log --tags --simplify-by-decoration --pretty="format:%at
%d"|grep 'tag: v'|sort -n`;
#2014-01-23 16:08:37 -0300 (tag: v3.12.09, 3.12.X)
for my $tag ( split "\n", $tags ) {
if ( $tag =~ m|^(?<epoch>\d+)\s+\(tag: v(?<version>\d+\.\d+\.\d+)| ) {
my $version = $+{version};
my $epoch = $+{epoch};
$events->{$epoch} = { epoch => $epoch, description => "Koha $version
released", tags => 'releases' };
} else {
say "$tag DOES NOT MATCH";
}
}
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list