-
Notifications
You must be signed in to change notification settings - Fork 88
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
It is not deleting older releases, simply the last releases in the list. #14
Comments
Where or what area are you seeing the "not sorted by date" specifically? Some GitHub view or an API query? |
When I use I don't know how this action is sorting the releases and tags to select the oldest. But, for sure, it is not deleting the oldest releases and unused tags. It is just keeping the first few of the list and deleting the rest. And sometimes the new releases are deleted. |
@dev-drprasad , I am now using this action in my daily build of OpenWrt firmware for 3 routers here: https://github.com/okibcn/myopenwrt/releases As you can see, the repo lists the releases not in chronological order, and this action is deleting the last in line that, sometimes are the most recent releases. This is why I am actually confming that thedelete-older-releases is not actually deleting the older releases, but the last of a list that is not chronological. |
+1 |
I had to abandon this action. I built my own one using a short shell script using the gh API. |
@okibcn @thadguidry @dev-drprasad |
@smallprogram Thanks, I've reached out to @dev-drprasad on Twitter to ask for maintainer access to this repo to continue to help the community and maintain and enhance it. Hopefully he responds soon. |
When several jobs in the same repo are generating different releases with different names — For instance, when releasing the same code for different platforms.
In such case, the releases are not sorted by date. The action should order the releases by date, and then keep the most recent ones.
The text was updated successfully, but these errors were encountered: