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

Don't consider "tag-prefix" as optional if it's explicitly specified to main #3296

Merged
merged 1 commit into from
Nov 28, 2022

Conversation

AlexPykavy
Copy link
Contributor

To correctly calculate the next version with the prefix.

For example, we develop the main product and some its plugin in the same repository and have the following git tags list:

  • 0.1.0
  • 0.1.1
  • 0.2.0
  • 0.2.1
  • plugin_0.1.0
  • plugin_0.1.1

The expected next plugin version is 0.1.2 not 0.2.2 (plugin_ prefix will be prepended before setting the tag).

Description

Related Issue

3282

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

To correctly calculate the next version with the prefix.

For example, we develop the main product and some its plugin
in the same repository and have the following git tags list:
- 0.1.0
- 0.1.1
- 0.2.0
- 0.2.1
- plugin_0.1.0
- plugin_0.1.1

The expected next plugin version is `0.1.2` not `0.2.2` (`plugin_` prefix
will be prepended before setting the tag).
@arturcic arturcic self-requested a review November 24, 2022 19:01
@asbjornu asbjornu linked an issue Nov 25, 2022 that may be closed by this pull request
@arturcic arturcic merged commit 9895652 into GitTools:main Nov 28, 2022
@mergify
Copy link
Contributor

mergify bot commented Nov 28, 2022

Thank you @AlexPykavy for your contribution!

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

Successfully merging this pull request may close these issues.

[Bug] tag-prefix still seems to be optionally considered
2 participants