Skip to content

split ci from releases and release from dev - #158

Merged
thdxr merged 1 commit into
devfrom
repo-setup
Nov 18, 2026
Merged

thdxr merged 1 commit into
devfrom
repo-setup

Conversation

@thdxr

@thdxr thdxr commented Nov 18, 2026

Copy link
Copy Markdown
Member

gets the repo ready to go public.

  • ci.yml runs scripts/check.sh on prs and dev pushes with no secrets, environment or oidc. dev pushes publish the debug apk as dev-latest (replaces main-latest)
  • release.yml runs from dev at noon and 6pm central, or by dispatch with a bump. version is the latest vX.Y.Z tag bumped, version code is run number + 1000 (last android.yml code was ~524)
  • the bundle is built unsigned in a credential-free job and handed over with a sha256sums digest. publish (env release) checks out only .github/release/, verifies it, signs with the upload key via jarsigner, ships to play internal (+ open testing when PLAY_OPEN_TESTING), then tags and creates the github release. aws creds and secrets are scoped to the one step that uses them
  • removes android.yml, scheduled-release.yml, scripts/version.sh and the gradle signing config. adds CODEOWNERS for .github/

repo settings already changed: default branch is dev, production created, main retired, squash only, delete branches on merge, rulesets for dev/production/.github, and the release environment only allows dev. the aws role gets pinned to release.yml@refs/heads/dev in anomalyco/secrets after this merges.

— from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊

CI (ci.yml) now runs with no secrets, environment or OIDC token on every
PR and push to dev, and publishes the debug APK as dev-latest instead of
main-latest.

Releases (release.yml) run from dev at noon and 6 p.m. Central or by
dispatch with a bump. The version is the latest vX.Y.Z tag bumped, and the
version code is the run number plus 1000. The bundle is built unsigned in a
credential-free job and handed to the publish job with a SHA256SUMS digest;
publish checks out only .github/release/, verifies the bundle, signs it
with the upload key (jarsigner), ships it to Play, then tags and creates
the GitHub release. AWS credentials and secrets are scoped to the step
that uses them.

Removes android.yml, scheduled-release.yml, scripts/version.sh and the
Gradle upload signing config. play-promote.sh moves under .github/release/.
Adds CODEOWNERS for .github/.

Verified: actionlint (only the custom runner label), plan.sh against the
live tags, checksum handoff and sign-bundle.sh with a throwaway PKCS12 key.
@thdxr
thdxr merged commit 0455643 into dev Nov 18, 2026
2 checks passed
@thdxr
thdxr deleted the repo-setup branch November 18, 2026 20:43
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