Refactor pipelines.rb

Signed-off-by: Andrew Bruce <andrew@camelpunch.com>
Release tarball job archives tarball artifacts

Signed-off-by: Andrew Bruce <andrew@camelpunch.com>