Skip to content

Commit

Permalink
(check-update) ocaml- issue, not only >113, but 113.0.0 and 109.xx etc
Browse files Browse the repository at this point in the history
  • Loading branch information
makoto-fujiwara committed Jun 3, 2022
1 parent 1c908eb commit decdc95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion check-update
Original file line number Diff line number Diff line change
Expand Up @@ -2942,7 +2942,7 @@ my @GITHUB_PATH = ( "$master_site"."$GITHUB_PROJECT".'/releases',
if ( $PackageName =~ /kakoune/ && $cand>201801 ) {next;} # skip 20181001 etc,
if ( $PackageName =~ /neatvi/ && $cand eq '0.0' ) {next;} # skip 20181001 etc,
if ( $PackageName =~ /kilo/ && $cand eq '0.0' ) {next;} # skip 20181001 etc,
if ( $PackageName =~ /ocaml-/ && $cand> 113) {next;} # skip 113.
if ( $PackageName =~ /ocaml-/ && $cand> 100) {next;} # skip 113. 113.0.0, 109. ... etc
$cand =~ s/(2[0-9]+)-([01][0-9])-([0-9]+)/$1$2$3/; # devel/re2 2016-08-01

print STDERR sprintf("%4d <", __LINE__), (caller 0)[3], '> ', $cand, ' :: ', $_, "\n" if $DEBUG_GITHUB;
Expand Down

0 comments on commit decdc95

Please sign in to comment.