Skip to content

Handle Android releases without pending changelog entries - #80

Merged
pganssle merged 2 commits into
mainfrom
fix_empty_android_changelog
Aug 3, 2026
Merged

Handle Android releases without pending changelog entries#80
pganssle merged 2 commits into
mainfrom
fix_empty_android_changelog

Conversation

@pganssle

@pganssle pganssle commented Aug 3, 2026

Copy link
Copy Markdown
Owner

The modal test assumed that every build would have a Web-only Preview section. That is not true immediately after preparing an Android release, so the test failed on main even though the rendered changelog was correct. This keeps the modal test independent of the current fragment state and explicitly checks in the controlled changelog fixture that no preview is generated when there are no fragments.

The Android tag script also no longer treats an empty changelog as an unconditional error. It warns and prompts with a default of N before changing anything. If confirmed with y, it updates the version metadata and creates the tag without adding an empty NEWS section or F-Droid changelog file.

Tests:

  • ./tests/test_tag_android_version.sh
  • make test

The full run passed 100 Playwright tests with 2 expected skips, as well as the F-Droid metadata check and Android emulator smoke test.

The informational modal test assumed that every branch had unreleased changelog fragments. This failed immediately after preparing an Android release, when the preview heading was correctly absent. Keep the modal assertion concerned with the rendered changelog and test the no-fragment behavior explicitly in the controlled changelog fixture.
Stable tagging previously failed when there was no Web-only Preview to consolidate. Warn before changing any files and require an explicit y response before preparing an empty release. Empty releases update the Android and F-Droid version metadata without adding empty NEWS or Fastlane changelog entries.
@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

Preview for dc00fc4:
https://pganssle.github.io/cim-previews/pr-80/

It can take a minute or two after this comment appears for
GitHub Pages to publish the update.

pganssle pushed a commit to pganssle/cim-previews that referenced this pull request Aug 3, 2026
@pganssle
pganssle merged commit 6252322 into main Aug 3, 2026
7 checks passed
pganssle pushed a commit to pganssle/cim-previews that referenced this pull request Aug 3, 2026
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.

1 participant