Scott Little 078d3cb038 branching: don't push branches and tags in a single command
The command 'git push --tags ${review_remote} ${branch}'
is trying to push the branch and tag at the same time,
and as a side effect is re-pushing all other known tags.

Upstream servers are now consistently rejecting this.
Either they only accept a single branch or tag per push,
or they reject duplicate tags that they already have,
even if unchanged.

Change the code to push the branch and tag independently.

Closes-bug: 1952472
Change-Id: If99123b1eae823ea05ee2b2c80f891cb189e18d3
Signed-off-by: Scott Little <scott.little@windriver.com>
2021-11-26 11:42:52 -05:00
..