Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tags not working properly #6

Closed
nbrns opened this issue Jul 14, 2022 · 2 comments
Closed

Tags not working properly #6

nbrns opened this issue Jul 14, 2022 · 2 comments

Comments

@nbrns
Copy link

nbrns commented Jul 14, 2022

I added the first tag to a repo and tagged it with 1.0.0.
However, the build version did not change. The GitTools/GitVersion tool does recognize the tag and increases the version to 1.0.0.

$ git tag
1.0.0

$ curl -Ls https://solugo.github.io/gitversion/run.sh | bash
0.0.241

# gittools
$ docker run --rm -v "$(pwd):/repo" gittools/gitversion:5.10.0-alpine.3.14-6.0 /repo
{
  "Major": 1,
  "Minor": 0,
  "Patch": 0,
...
  "MajorMinorPatch": "1.0.0",
  "SemVer": "1.0.0",
...
}
@frederic-kneier
Copy link
Member

A gitversion Tag Starts with a "v" by Default. So either that Tag should ne "v1.0.0" or the Tag pattern hast Tod bei modified accordingly.

@nbrns
Copy link
Author

nbrns commented Jul 14, 2022

Fine for me. There should be docs about it though, referring to issue #1 by @mkoertgen

@nbrns nbrns closed this as completed Jul 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants