From 5b88fe3a30a600a9b3111359c1a29bcbfb5bbb05 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Tue, 3 Apr 2018 01:53:39 +0200 Subject: [PATCH] abi-tracker: Allow definining Date from profile version This way Date can be generated in the report if the Scm is not supported or if a specific Date is wanted instead of the one provided by Scm. --- abi-tracker.pl | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/abi-tracker.pl b/abi-tracker.pl index 30fa087..e5d272d 100644 --- a/abi-tracker.pl +++ b/abi-tracker.pl @@ -1576,8 +1576,12 @@ ($) my $Source = $Profile->{"Versions"}{$V}{"Source"}; my $Date = undef; - - if($V eq "current") + + if (defined $Profile->{"Versions"}{$V}{"Date"}) + { + $Date = $Profile->{"Versions"}{$V}{"Date"} + } + elsif($V eq "current") { if(defined $Profile->{"Git"}) {