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 version parameter of release endpoint #556

Merged
merged 3 commits into from
Mar 20, 2023

Conversation

sven-urbanski-freiheit-com
Copy link
Contributor

@sven-urbanski-freiheit-com sven-urbanski-freiheit-com commented Mar 17, 2023

This fixes an issue when the "release" endpoint gets a "version" parameter that is less than the newest version number.
In that case, kuberpult didn't generate any manifest files (just the basic files like "author" were written).

@hannesg hannesg self-requested a review March 20, 2023 08:49
@hannesg
Copy link
Member

hannesg commented Mar 20, 2023

Looks good! Can you add a unit test.

@sven-urbanski-freiheit-com sven-urbanski-freiheit-com changed the title WIP: Fix version parameter of release endpoint Fix version parameter of release endpoint Mar 20, 2023
@sven-urbanski-freiheit-com
Copy link
Contributor Author

@hannesg I added 2 tests, and ensured one of them failed before the src change

@sven-urbanski-freiheit-com sven-urbanski-freiheit-com deleted the su-fix-version-release-endpoint branch March 20, 2023 15:49
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.

3 participants