TimJones / snapci-resource

A Snap-CI resource for Concourse CI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reverse direction of reference gathering

TimJones opened this issue · comments

Rather than looking up latest and moving backwards to find the versioned reference, lookup the versioned reference and use the _links.next object to move forward.

Turns out not all pipelines generate the _links.next object (based on result), so we have to work backwards.