From e60b2d991090898a7d56f5c1bab0fc946ecfd766 Mon Sep 17 00:00:00 2001 From: austinried <4966622+austinried@users.noreply.github.com> Date: Thu, 8 Oct 2026 17:44:52 +0000 Subject: [PATCH] rename the next build back to nightly Rename the build type, workflow, artifact and app id (com.subtracks.nightly) from next to nightly, and update the signing docs to match. --- .../workflows/{build-next.yml => build-nightly.yml} | 8 ++++---- app/build.gradle.kts | 8 ++++---- signing/README.md | 13 +++++++------ ...next-certificate.pem => nightly-certificate.pem} | 0 4 files changed, 15 insertions(+), 14 deletions(-) rename .github/workflows/{build-next.yml => build-nightly.yml} (73%) rename signing/{next-certificate.pem => nightly-certificate.pem} (100%) diff --git a/.github/workflows/build-next.yml b/.github/workflows/build-nightly.yml similarity index 73% rename from .github/workflows/build-next.yml rename to .github/workflows/build-nightly.yml index 220f1b7d..6af1ddc8 100644 --- a/.github/workflows/build-next.yml +++ b/.github/workflows/build-nightly.yml @@ -1,4 +1,4 @@ -name: Build Next +name: Build Nightly on: push: @@ -19,10 +19,10 @@ jobs: persist-credentials: false - uses: ./.github/actions/build with: - gradle-args: ":app:assembleDebug :app:assembleNext --no-daemon" + gradle-args: ":app:assembleDebug :app:assembleNightly --no-daemon" - name: Checksums - run: sha256sum app/build/outputs/apk/debug/app-debug.apk app/build/outputs/apk/next/app-next.apk + run: sha256sum app/build/outputs/apk/debug/app-debug.apk app/build/outputs/apk/nightly/app-nightly.apk - uses: actions/upload-artifact@v7 with: - name: subtracks-next + name: subtracks-nightly path: app/build/outputs/apk diff --git a/app/build.gradle.kts b/app/build.gradle.kts index f00b8610..0a446bba 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -80,7 +80,7 @@ android { .add("src/integrationTest/kotlin") signingConfigs { - // Committed on purpose: a public key for debug and next builds, never for distribution. + // Committed on purpose: a public key for debug and nightly builds, never for distribution. getByName("debug") { storeFile = file("debug.keystore") storePassword = "android" @@ -100,7 +100,7 @@ android { buildTypes { debug { - applicationIdSuffix = ".next" + applicationIdSuffix = ".nightly" } release { isMinifyEnabled = true @@ -109,9 +109,9 @@ android { // Release signing when the keystore is supplied (CI); debug elsewhere so local build/install works. signingConfig = signingConfigs.findByName("release") ?: signingConfigs.getByName("debug") } - create("next") { + create("nightly") { initWith(getByName("release")) - applicationIdSuffix = ".next" + applicationIdSuffix = ".nightly" signingConfig = signingConfigs.getByName("debug") } } diff --git a/signing/README.md b/signing/README.md index 896bdba5..ae23706c 100644 --- a/signing/README.md +++ b/signing/README.md @@ -9,12 +9,13 @@ subtracks ships through four channels: send to Play, not the APK users install. The installed app verifies against Google's app signing certificate (Play Console → App integrity), and the upload key only proves the AAB we uploaded. -- **`next` builds** (the `subtracks-next` artifact from CI) — signed with the - public debug key committed here as [`next-certificate.pem`](next-certificate.pem). +- **`nightly` builds** (the `subtracks-nightly` artifact from CI) — signed with + the public debug key committed here as + [`nightly-certificate.pem`](nightly-certificate.pem). - **F-Droid** — re-signed by F-Droid with its own key; see F-Droid's published signing key. -## `next` builds +## `nightly` builds Certificate SHA-256: @@ -22,14 +23,14 @@ Certificate SHA-256: DF:31:3F:18:58:E9:AD:F4:7F:44:65:B2:80:8F:DC:E5:B9:F8:8A:48:35:DC:D0:79:95:19:61:C3:05:05:08:37 ``` -To check a `next` APK: +To check a `nightly` APK: ```sh -apksigner verify --print-certs subtracks-next.apk +apksigner verify --print-certs subtracks-nightly.apk ``` The `SHA-256 digest` line must equal the fingerprint above (the certificate is -committed at [`next-certificate.pem`](next-certificate.pem)). +committed at [`nightly-certificate.pem`](nightly-certificate.pem)). ## GitHub releases diff --git a/signing/next-certificate.pem b/signing/nightly-certificate.pem similarity index 100% rename from signing/next-certificate.pem rename to signing/nightly-certificate.pem