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 delete old release logic #15

Merged
merged 1 commit into from
Dec 10, 2022
Merged

Conversation

smallprogram
Copy link
Contributor

Fix #14
Sort in reverse order by release date, and delete the oldest release, instead of simply deleting the last item in the list.
Works better with keep_latest

@thadguidry
Copy link
Collaborator

Thanks for this fix, looks good so let's merge this now.

@thadguidry thadguidry merged commit 5128841 into dev-drprasad:master Dec 10, 2022
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.

It is not deleting older releases, simply the last releases in the list.
2 participants