Files

1.5 KiB

MG Utility release workflow

When Zeb asks to release a new Dev build, run this from the repository:

./scripts/release-dev.sh

This one-command Vault-backed workflow unlocks Bitwarden through the configured Vault helper, reads the Gitea personal access token from the configured Vault item, invokes the existing scripts/release.sh version/build/publish flow, and verifies the published Dev APK by downloading it and comparing its SHA-256 with the release metadata and local artifact. It also checks signature schemes, manifest metadata, and ZIP integrity. Do not commit or push source changes.

For a calculation-only authenticated preview, use ./scripts/release-dev.sh --dry-run. This obtains the token from Vault and uses the live release list; never rely on an unauthenticated dry-run for version allocation.

Never put the Gitea token in .env, source, shell arguments, or logs. Defaults use /root/.openclaw/workspace/scripts/vault.sh and the configured Gitea Vault item ID in the wrapper. Override VAULT_HELPER or GITEA_VAULT_ITEM_ID only when those locations change. If Vault, signing keystore, SDK, or network access is unavailable, stop and report the actual blocker; do not bypass checks.

Stable releases are distinct and require explicit user intent; never use --stable for a Dev request. Preserve dirty source changes: the release process builds the current checkout and does not clean or commit it. After publishing, report the generated version, release tag, artifact path, checksum, and actual verification output.