I was trying to figure out how to explicitly get the tags with this command, but it doesn't seem to be an option to --pretty.
This command gets only the tagged commits, so if you run this as part of your scripts too, you could join it using the sha.
git log --simplify-by-decoration --decorate=short --oneline