Skip to content

Auto release

Andrew Mello edited this page May 27, 2026 · 1 revision

Auto-update

This package tracks Intel's rpc-go releases automatically. You should never see it go stale.

How it works

.github/workflows/auto-release.yml runs:

  1. Daily at 06:00 UTC via schedule: cron
  2. On every push to main (so PRs that change the workflow itself get exercised)
  3. Manually via workflow_dispatch (Actions tab → Auto-release → Run workflow)

Each run:

  1. Fetches the latest release tag from https://api.github.com/repos/device-management-toolkit/rpc-go/releases/latest
  2. Compares against pkgver= in PKGBUILD
  3. If different:
    • Downloads rpc_linux_x64.tar.gz and computes a fresh SHA256
    • Updates pkgver, pkgrel=1, and sha256sums_x86_64 in both PKGBUILD and .SRCINFO
    • Commits to main as user 88plug-bot
    • Pushes to AUR via the KSXGitHub/github-actions-deploy-aur action using the AUR_SSH_PRIVATE_KEY secret

Total time when an update lands: ~30 seconds end-to-end.

When it doesn't run

  • Upstream releases the same version → workflow logs "Already at X.Y.Z" and exits clean
  • Upstream API rate-limits the GitHub-API call → run fails harmlessly, retries next day
  • Secret missing → AUR push step fails but the commit to main still landed; manual recovery: re-run with the secret in place

What you need to do

Nothing. Set it and forget it.

Edge case: if you ever want to pin to a specific version, manually edit PKGBUILD and force the workflow off — easiest is to disable the schedule trigger in auto-release.yml.

Manual trigger

If you don't want to wait until 06:00 UTC:

gh workflow run auto-release.yml --repo 88plug/rpc-go-bin

Or via GitHub UI: Actions → Auto-update → Run workflow → Run.

Recent runs

https://github.com/88plug/rpc-go-bin/actions/workflows/auto-release.yml

Clone this wiki locally