Seems there is no easy way to know the build configuration when compose release and filename, only has access to git related info like HEAD/branch