https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25442

--- Comment #9 from Jonathan Druart <[email protected]> 
---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to