Fixed an issue with tags being applied to commits which weren't yet pushed to the remote.
Update changelog and version for v2.3.1.