Repository navigation
fix(android): pass app_root and the release tag to scripts through env - #180
Conversation
The build, sign and align steps interpolated inputs.app_root straight into their scripts, and the release check did the same with env.RELEASE_TAG. Both values now reach the scripts as environment variables and are quoted there, so their content is never parsed as shell code. Closes #179
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. 🧰 Additional context used📚 Code guidelines (1)No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (1)
Included review availability: This review used your included allowance. 0 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 3 reviews per hour. 📝 WalkthroughWalkthroughThe Android APK release workflow now passes ChangesAndroid APK release workflow
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix Merge Risk: ⚪ Minimal · up to No actionable merge-blocking risk is established in the workflow changes. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Independent local reviewReviewed head: Verdict: safe to merge. No blocking findings and nothing to fix in this PR. What was checked
Blockingnone Fix in PRnone Follow-up
Not covered
|
Problem
release-android-apk.ymlinterpolatedinputs.app_rootdirectly into therun:scripts ofbuild apk,sign apkandalign apk, andenv.RELEASE_TAGinto the script ofcheck if release already exists. An expression is expanded before the shell sees the script, so the value becomes part of the script text (#179).Change
The four steps receive the values through
env:(APP_ROOT, and the existingRELEASE_TAGenvironment variable) and use them as quoted shell variables. Norun:script in this workflow contains an expression any more. Paths and behaviour are unchanged for a normalapp_root.Closes #179
Verification
actionlint .github/workflows/*.ymlpasses.Not covered
run:scripts; this PR only changes the Android workflow.Summary by CodeRabbit