Skip to content

Your phone, on your command. Gotcha is world's first fully on-device AI copilot for Android that turns natural language into real device actions — safely.

ci: pass INFLUENCER_* secrets to the release build

Durganshu Mishra35df0c0a5037
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 6883389..c3440f2 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -195,6 +195,8 @@ jobs:
FEEDBACK_ENTRY_ANDROID_VERSION: ${{ secrets.FEEDBACK_ENTRY_ANDROID_VERSION }}
FEEDBACK_ENTRY_USAGE_STATS: ${{ secrets.FEEDBACK_ENTRY_USAGE_STATS }}
FEEDBACK_ENTRY_CHAT_LOG: ${{ secrets.FEEDBACK_ENTRY_CHAT_LOG }}
+ INFLUENCER_FORM_URL: ${{ secrets.INFLUENCER_FORM_URL }}
+ INFLUENCER_ENTRY_EMAIL: ${{ secrets.INFLUENCER_ENTRY_EMAIL }}
run: |
# samosaConfig() in app/build.gradle.kts silently falls back to inert
# *.example placeholders when a value is missing, which produces an APK
@@ -205,6 +207,16 @@ jobs:
exit 1
fi
done
+
+ # A blank INFLUENCER_* is a legitimate default for a public checkout (the card
+ # renders nothing), so this cannot be fatal — but on an official release it means
+ # the influencer card silently disappears, which is how 1.1.0 shipped without it.
+ # Nothing in the built APK distinguishes "blank" from "unset", so warn here.
+ for name in INFLUENCER_FORM_URL INFLUENCER_ENTRY_EMAIL; do
+ if [ -z "${!name}" ]; then
+ echo "::warning::$name is empty — the influencer program card will not appear in this release"
+ fi
+ done
./gradlew :app:assembleRelease --stacktrace
- name: Verify release APK is correctly signed and configured