The original pattern {hex, App, Version, _, _, _, _} changed to {hex, App, Version, _, _, _, _, _} with my rebar version. (That is, one more underscore in the pattern.) This change accepts any tuple size flagged by the atom hex and gets the App and Version values from the 2nd and 3rd positions in the tuple. This works with the old and new rebar tupple sizes, and is also immune to further added fields.
The original pattern
{hex, App, Version, _, _, _, _}
changed to{hex, App, Version, _, _, _, _, _}
with my rebar version. (That is, one more underscore in the pattern.) This change accepts any tuple size flagged by the atomhex
and gets theApp
andVersion
values from the 2nd and 3rd positions in the tuple. This works with the old and new rebar tupple sizes, and is also immune to further added fields.