Skip to content

ci: auto-delete previous releases on new version#37

Merged
montfort merged 1 commit intomainfrom
ci/auto-cleanup-old-releases
Apr 2, 2026
Merged

ci: auto-delete previous releases on new version#37
montfort merged 1 commit intomainfrom
ci/auto-cleanup-old-releases

Conversation

@montfort
Copy link
Copy Markdown
Contributor

@montfort montfort commented Apr 2, 2026

Summary

  • Both workflows now auto-delete older releases of the same component after creating the new one
  • Uses gh release delete --cleanup-tag to also remove stale tags
  • Only deletes releases matching the same prefix (fw-* or cli-*), never cross-component

Test plan

  • Next release should show "Deleting old release..." in CI logs
  • Only latest release per component should remain on GitHub

🤖 Generated with Claude Code

Both release workflows now delete older releases of the same component
(fw-* or cli-*) after successfully creating the new one. Old tags are
also cleaned up via --cleanup-tag. This keeps only the latest release
per component on GitHub.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@montfort montfort merged commit 0ad9ede into main Apr 2, 2026
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Apr 2, 2026

CLA assistant check
All committers have signed the CLA.

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