Skip to content

Automate F-Droid and GitHub changelog generation in release pipeline#333

Merged
killi199 merged 4 commits into
mainfrom
feature/improveReleaseNotes
Jul 9, 2026
Merged

Automate F-Droid and GitHub changelog generation in release pipeline#333
killi199 merged 4 commits into
mainfrom
feature/improveReleaseNotes

Conversation

@killi199

@killi199 killi199 commented Jul 9, 2026

Copy link
Copy Markdown
Owner

This PR automates the F-Droid metadata changelog creation during the release creation pipeline.

Changes:

  1. TypeScript Changelog Script: Added .github/scripts/generate-fdroid-changelog.ts which runs git commands to identify PRs merged since the last release, fetches details from the GitHub REST API, filters for bug or enhancement labels, formats them, and writes the changelog to F-Droid's locale directory structure (metadata/<language>/changelogs/<versionCode>.txt).
  2. Support for Suffix-based Version Codes: Calculates suffix version codes (base * 10 + 1 and base * 10 + 2) to match the F-Droid build pipeline setup (VercodeOperation).
  3. Workflow Integration: Updated .github/workflows/release.yml to run the TypeScript script using npx tsx during the prepare job, set up Node.js, and commit/push the generated metadata files.
  4. Added release.yml to improve GitHub release notes

Fixes #321

@killi199 killi199 changed the title feat: automate F-Droid changelog generation in release pipeline Automate F-Droid changelog generation in release pipeline Jul 9, 2026
@killi199 killi199 added the maintenance General maintenance label Jul 9, 2026
@killi199 killi199 changed the title Automate F-Droid changelog generation in release pipeline Automate F-Droid and GitHub changelog generation in release pipeline Jul 9, 2026
@codecov

codecov Bot commented Jul 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

@killi199 killi199 force-pushed the feature/improveReleaseNotes branch from c792fc1 to 66ed08d Compare July 9, 2026 15:30
@killi199 killi199 merged commit f345870 into main Jul 9, 2026
6 checks passed
@killi199 killi199 deleted the feature/improveReleaseNotes branch July 9, 2026 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance General maintenance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve release notes

1 participant