Skip to content

gitversion /version prints wrong version #2101

@georghirn

Description

@georghirn

I think I may found a bug.

When I'm executing the following command:

> docker run --rm -it gittools/gitversion:5.1.3-linux-ubuntu-18.04-netcoreapp3.1 /version
4.0.0+Branch.master.Sha.e715eb5dd515037d90a257f527e62442cae8c1c5

GitVersion prints the wrong version. The same applies to GitVersion 5.1.4:

> docker run --rm -it gittools/gitversion:5.1.4-linux-ubuntu-18.04-netcoreapp3.1 /version
4.0.0+Branch.master.Sha.e715eb5dd515037d90a257f527e62442cae8c1c5

GitVersion 5.1.2 prints:

> docker run --rm -it gittools/gitversion:5.1.2-linux-ubuntu-18.04-netcoreapp3.0 /version
5.1.2+Branch.master.Sha.4eb164e8b5ddc27b736a11fd9979c7760c7a2b0f

But shouldn't it be just 5.1.2?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions