Skip to content

Commit

Permalink
dev: fixed perl script to support current build numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
JayDi85 committed Jun 6, 2024
1 parent 4635563 commit 52ee309
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Utils/find_new_cards.pl
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@
{
my $orig_num = $tag;
my $num = $tag;
if ($num =~ m/(\d+)\.(\d+).(\d+)v(\d+)/img)
# 1.4.52-V7-beta9
if ($num =~ m/(\d+)\.(\d+).(\d+)-v(\d+)-beta(\d+)/img)
{
$num = $1 * 2000 + $2 * 100 + $3 * 20 + $4;
$num = $1 * 20000 + $2 * 1000 + $3 * 200 + $4 * 10 + $5;
$order_of_tags {$num} = $tag;
}
}
Expand Down Expand Up @@ -171,4 +172,4 @@ sub get_name_of_card_from_class

}
}
}
}

0 comments on commit 52ee309

Please sign in to comment.