This mistake happened both for version 0.0.1 and version 0.1.1 which incorrectly print 0.0.0 and 0.1.0 in the console.
This is a human error and should be checked in the CI.
I guess another option would be to automatically generate the version from the tag, if we are in a release build.
Note that this should ignore everything after a - in the tag name, that part is useful for pre-releases.