Build version number does not match git latest tag version

When triggering a build on a tag, CircleCI attaches a different version number from the tag’s. I would expect the version number to match the one of the release’s tag.

For example:

  1. Create a release with tag ‘v1.1.0’
  2. CircleCI builds with version number 1.1.1

Obviously, I would expect the version number in step two to be 1.1.0 as well…

Some screenshots:

  1. Local deployment using Fastlane with correct latest tag version number:
  2. CircleCI deployment with incorrect latest tag version number: