Skip to content

fix: only auto-release when Android code changes - #22

Merged
HumbleBee14 merged 1 commit into
mainfrom
fix/auto-release-android-only
Jun 21, 2026
Merged

fix: only auto-release when Android code changes#22
HumbleBee14 merged 1 commit into
mainfrom
fix/auto-release-android-only

Conversation

@HumbleBee14

Copy link
Copy Markdown
Owner

Problem

Merging the iOS Strict Mode PR (#21) triggered Auto Release, which bumped the Android version 1.11.1 → 1.11.2 and cut a Play-Store-flavored GitHub Release — for a change that touched zero Android code.

`release.yml` bumps `ZenLock-Android/app/build.gradle.kts`, builds the playstore/sms APKs, tags, and publishes a release. It's entirely Android, but its `push` trigger had no path filter, so any push to `main` (iOS code, workflow edits, docs) cut an Android release.

Fix

Scope the `push` trigger to `ZenLock-Android/**`. An Android release now fires only when Android code changes. `workflow_dispatch` stays unrestricted for manual releases, and the existing "skip chore: bump version" guard still prevents self-trigger loops.

Notes

  • The already-published 1.11.2 release stands (harmless); this only prevents future spurious releases.
  • iOS has no automated release pipeline, so nothing iOS-side is affected.

🤖 Generated with Claude Code

Auto Release bumps the Android versionName/versionCode, builds Play Store APKs,
and cuts a GitHub Release — it's entirely Android. It triggered on every push to
main, so merging an iOS-only or workflow-only change bumped the Android version
and published a release (e.g. 1.11.2 from the iOS Strict Mode PR).

Scope the push trigger to ZenLock-Android/** so a release only fires when Android
code actually changes. workflow_dispatch stays unrestricted for manual releases,
and the existing "skip chore: bump version" guard still prevents self-trigger loops.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015Qvf9BnsiAuaiSPbsZazgr
@HumbleBee14
HumbleBee14 merged commit 18ba78a into main Jun 21, 2026
6 checks passed
@HumbleBee14
HumbleBee14 deleted the fix/auto-release-android-only branch June 21, 2026 19:35
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