···11name: assist-android
2233# Builds the Android wrapper of the voice page (packages.hermes-voice-android),
44-# signs it and publishes it as assist.apk of the rolling release
55-# assist-android:
66-# https://github.com/lassulus/superconfig/releases/download/assist-android/assist.apk
44+# signs it and publishes it as assist.apk of a new release
55+# assist-android-v<run number>, so Obtainium sees every build.
66+# Stable URL: https://github.com/lassulus/superconfig/releases/latest/download/assist.apk
77#
88# versionCode is the run number, so every published APK installs over the
99# previous one; versionName is the short commit.
···6969 GH_TOKEN: ${{ github.token }}
7070 run: |
7171 notes="Built from $GITHUB_SHA by $GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID (versionCode $GITHUB_RUN_NUMBER)."
7272- if gh release view assist-android >/dev/null 2>&1; then
7373- gh release edit assist-android --notes "$notes"
7474- else
7575- gh release create assist-android --title "Assist (Android)" --target "$GITHUB_SHA" --latest=false --notes "$notes"
7676- fi
7777- gh release upload assist-android "$RUNNER_TEMP/assist.apk" --clobber
7272+ gh release create "assist-android-v$GITHUB_RUN_NUMBER" "$RUNNER_TEMP/assist.apk" \
7373+ --title "Assist v$GITHUB_RUN_NUMBER" --target "$GITHUB_SHA" --latest --notes "$notes"
78747975 - if: always()
8076 run: rm -f "$RUNNER_TEMP/keystore" "$RUNNER_TEMP/password"