Hehe, turns out this is how I discovered there were two different build pipelines for the project and only one of them worked correctly.
So, mystery solved @cddr?
Yeah. User error. Think I've got both ways of building working now :)