Skip to content

Conversation

@chrjohn
Copy link
Member

@chrjohn chrjohn commented May 22, 2025

Github Packages accumulates packages since each SNAPSHOT version has a new timestamp.
See actions/delete-package-versions#71 or https://stackoverflow.com/questions/68521637/how-to-delete-old-snapshot-artifacts-from-github-packages

SNAPSHOT versions have a distinct timestamp in the repo, but the github action sees all these packages as belonging to the same version, so specifiying a minimum number of versions to keep does not work. So we simply tell the action to keep 0 versions.

To minimize the time in which there is no version available on github packages we will do:

  • build QFJ (this takes about 20 minutes)
  • delete packages
  • deploy packages

@chrjohn chrjohn linked an issue May 23, 2025 that may be closed by this pull request
@chrjohn chrjohn changed the title try to delete complete version completely delete SNAPSHOT packages before deploying new SNAPSHOT version May 23, 2025
@chrjohn chrjohn added this to the QFJ 3.0.0 milestone May 23, 2025
@chrjohn chrjohn merged commit 678c113 into master May 24, 2025
22 checks passed
@chrjohn chrjohn deleted the chrjohn-delete-packages branch May 24, 2025 15:25
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.

Clean up old SNAPSHOT releases

2 participants