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

Fix problems with tag detection and PBR version setting #19

Merged
merged 1 commit into from Nov 11, 2019

Conversation

nelljerram
Copy link
Member

We were seeing this:

ValueError: git history requires a target version of
pbr.version.SemanticVersion(3.9.2), but target version is
pbr.version.SemanticVersion(3.8.4)

when building networking-calico packages from a commit with multiple
version tags.

The context for that was releasing a particular patch version, 3.8.4,
so the general fix is that when we know the version we're releasing,
skip the autodetection logic and just use that version.

We were seeing this:

   ValueError: git history requires a target version of
   pbr.version.SemanticVersion(3.9.2), but target version is
   pbr.version.SemanticVersion(3.8.4)

when building networking-calico packages from a commit with multiple
version tags.

The context for that was releasing a particular patch version, 3.8.4,
so the general fix is that when we know the version we're releasing,
skip the autodetection logic and just use that version.
@nelljerram nelljerram merged commit b980f49 into projectcalico:master Nov 11, 2019
@nelljerram
Copy link
Member Author

@caseydavenport I'm sorry, I just merged this one by mistake, thinking it was a different approved PR. Would still appreciate your review, and will obviously address any comments or markups.

Copy link
Member

@caseydavenport caseydavenport left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - thanks @neiljerram

@nelljerram nelljerram deleted the fix-pbr-version-issue branch November 13, 2019 14:01
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.

None yet

2 participants