Return code of pkgctl version upgrade should indicate action taken
I would like to suggest that pkgctl version upgrade
exit with a success code only if it actually did something, and exit with an error code if no upgrade was found. This would make the command easier to use in scripts. The return code of pkgctl version check
already properly indicates success (up to date) or failure (not up to date), but currently version upgrade is harder to code around. In particular if running a test build automatically afterwards it may waste a build cycle on rebuilding an existing version.
$ pkgctl version upgrade && pkgctl build -o