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

Fixes issue with versioning stuck at 1.4.0 for version cloned with git. #762

Merged
merged 1 commit into from
Jan 24, 2019

Conversation

Tcenova
Copy link
Contributor

@Tcenova Tcenova commented Jan 20, 2019

When compiling from source with the repo, the tags of 1.5.0 and v1.5.1 were not annotated (-a flag when generated the tag) and thus did not show up when using the git describe command. Adding the --tag option considers all tag names and allowed versions 1.5.0 and v1.5.1 to be parsed. See https://git-scm.com/docs/git-describe.

The other change was made to remove the leading v if the tag name contained one. This was done as the code in each utility prints out a leading v already, assuming the version was just a number. Version 1.5.1 was tagged as v1.5.1 necessitating this change.

@xor-gate
Copy link
Member

Thanks!

@xor-gate xor-gate added this to the Next milestone Jan 24, 2019
@xor-gate xor-gate merged commit af325bb into stlink-org:master Jan 24, 2019
@Nightwalker-87 Nightwalker-87 removed this from the General milestone Feb 21, 2020
@Nightwalker-87 Nightwalker-87 self-assigned this Feb 21, 2020
@Nightwalker-87 Nightwalker-87 added this to the v1.6.0 milestone Feb 21, 2020
@Nightwalker-87 Nightwalker-87 linked an issue Mar 28, 2020 that may be closed by this pull request
2 tasks
@Nightwalker-87 Nightwalker-87 linked an issue Mar 29, 2020 that may be closed by this pull request
@stlink-org stlink-org locked as resolved and limited conversation to collaborators Apr 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
3 participants