Automated cherry pick of #1511: Set the final version with tag name when releasing
Cherry pick of #1511 on release-1.4.
#1511: Set the final version with tag name when releasing
For details on the cherry pick process, see the cherry pick requests page.