Skip to content

feat(release): Automate changelog, asset updates, and tagging#4407

Merged
jamesarich merged 8 commits into
mainfrom
fix/fastlane
Feb 2, 2026
Merged

feat(release): Automate changelog, asset updates, and tagging#4407
jamesarich merged 8 commits into
mainfrom
fix/fastlane

Conversation

@jamesarich

@jamesarich jamesarich commented Feb 2, 2026

Copy link
Copy Markdown
Collaborator

This pull request introduces several improvements and refactors to the release and documentation automation workflows. The main focus is on making releases more robust, automating changelog generation and asset updates, and improving workflow flexibility by allowing specific commit SHAs to be tagged and built. Additionally, the documentation workflow is now triggered on pushes to main instead of a weekly schedule, and linting is enforced before builds.

Release workflow enhancements:

  • Added support for specifying a commit SHA to build and tag, ensuring that release artifacts and tags always point to the correct commit. This change is reflected throughout .github/workflows/release.yml, .github/workflows/promote.yml, and .github/workflows/create-or-promote-release.yml. [1] [2] [3] [4] [5]
  • Automated changelog generation using the previous tag for both internal and Play Store releases, and integrated changelog content into Fastlane deployments. [1] [2] [3] [4]
  • Added steps to update external assets (firmware, hardware, protobufs), sync translations via Crowdin, and commit these updates automatically for internal releases.
  • Enforced lint and format checks before building release artifacts by calling a reusable lint workflow. [1] [2] [3] [4] [5]
  • Improved tagging logic to ensure tags are pushed only after successful builds and asset updates, both for internal and promoted releases. [1] [2]

Documentation workflow improvements:

  • Changed the documentation deployment trigger from a weekly schedule to run on pushes to main, and added support for manual and workflow calls with a specific ref.
  • Made the documentation workflow flexible to build from any branch, tag, or SHA by passing a ref input.

Changelog configuration cleanup:

  • Removed redundant label categories from .github/release.yml to simplify changelog grouping.

This commit overhauls the release automation with the following improvements:

- **Automated Asset & Translation Updates**: For internal builds, the workflow now automatically updates firmware/hardware data and syncs translations with Crowdin before building.
- **Automatic Changelog Generation**: The workflow generates a changelog from commits since the last production tag. This changelog is then used for the Play Store listing and included in a new commit.
- **Decoupled Tagging**: The process of tagging a commit is now separated from building it. Builds are performed on a specific `commit_sha`, and the git tag is only applied at the end of the workflow upon success. This prevents having a tag on a failed release.
- **Release Commit**: A new commit is automatically created for internal releases to bundle the changelog, updated assets, and bumped version information.
- **Workflow Refinements**:
    - The `release.yml`, `promote.yml`, and `create-or-promote-release.yml` workflows were updated to support the new `commit_sha` based logic.
    - The `docs.yml` workflow is now triggered on pushes to `main` to keep documentation current.
    - The `Fastfile` is updated to handle the new `changelog` parameter.
- Added a new `run-lint` job to the `release` workflow.
- The `release-google` and `release-fdroid` jobs now depend on the lint check passing.
- Updated the `reusable-lint` workflow to accept a `ref` input, allowing it to check out a specific commit, branch, or tag.
@github-actions github-actions Bot added the bugfix PR tag label Feb 2, 2026
@codecov

codecov Bot commented Feb 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 8.36%. Comparing base (37b2efa) to head (c3ba1de).
⚠️ Report is 3 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@          Coverage Diff          @@
##            main   #4407   +/-   ##
=====================================
  Coverage   8.36%   8.36%           
=====================================
  Files        418     418           
  Lines      14318   14318           
  Branches    2078    2078           
=====================================
  Hits        1197    1197           
  Misses     12890   12890           
  Partials     231     231           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jamesarich jamesarich merged commit 70d7319 into main Feb 2, 2026
11 checks passed
@jamesarich jamesarich deleted the fix/fastlane branch February 2, 2026 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix PR tag

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant