ps-tags-and-branches Properly save branch and tag info

This commits adds proper saving of tag and branch names after build
creation. The information is not used anywhere for now and thus
commit.branch and build.branch is still populated for backwards
compatibility.

Piotr Sarnacki authored and committed

Push event #2989.1 errored

  • Ran for
AMD64
no language set
Git

There was an error while trying to fetch the log.