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

Teach check_release to use tags to define next-version. #858

Merged
merged 1 commit into from
Apr 17, 2024

Conversation

ggainey
Copy link
Contributor

@ggainey ggainey commented Apr 9, 2024

[noissue]

Comment on lines 80 to 84
curr_version = Version(last_tag)
next_version = Version(f"{branch}.{curr_version.micro + 1}")
Copy link
Member

Choose a reason for hiding this comment

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

Fixing by deleting thirty lines. 👍
Do we want to add one sanity check that assert curr_version.startswith(branch) ?

Comment on lines +81 to +83
assert curr_version.base_version.startswith(
branch
), "Current-version has to belong to the current branch!"
Copy link
Member

Choose a reason for hiding this comment

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

👍

@mdellweg mdellweg merged commit 6a0d984 into pulp:main Apr 17, 2024
17 checks passed
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.

2 participants