1.2.2
Fixed
- Critical: Every backup run since 1.2.0 aborted immediately.
exec.shpassed the token as--token-file=<path>, a flagpython-github-backuphas never had; argparse exited with code 2 before a single repository was cloned. The token file is now passed as afile://URI on the flag the tool actually provides (--tokenfor classic PATs/OAuth tokens,--token-fineforgithub_pat_*tokens, selected from the token prefix).
Added
ci/smoke-test.sh: runs the built image with a dummy token and verifies thatgithub-backuprejects the credential rather than the arguments. Wired intoci.ymlafter the image build and intobuild.ymlas a gate before any image is pushed, so a broken invocation can no longer reach:latestor:stable.
Changed
:stableis now computed from plainX.Y.Zrelease tags only.sort -Vranks a prerelease such as1.3.0-rc1above1.3.0, so a prerelease tag could have claimed:stableand blocked the real release from re-claiming it. Prerelease tags still get their own image tag.- README restyled: centered header with badges, feature and environment-variable tables, and the release/tag semantics. The documented default for
BACKUP_OPTIONSnow matches the code (--all --private --gists).
Images
ghcr.io/wus-technik/github-backup-docker:1.2.2 — also published as :stable (linux/amd64, linux/arm/v7, linux/arm64).