1.1.2 • Published 6 years ago
apple-release-checker v1.1.2
apple-release-checker
Checks to see if a new beta release is available for the software you specify.
Setup
Configuration is done entirely through environment variables.
First, set the RELEASE_CHECKER_OSES environment variable. It should contain a space-separated list of OSes/software you want to check. Here's an example:
export RELEASE_CHECKER_OSES="macos ios"(Capitalization does not matter.)
Now, for each OS/software you specified, set two variables: WHATEVER_CURRENT_VERSION and WHATEVER_CURRENT_BETA. Example:
export MACOS_CURRENT_VERSION=10.15
export MACOS_CURRENT_BETA=2You should be good to go!
Installation & Usage
npm i -g apple-release-checker
apple-release-checkerIf there is a new beta release for the software you specify, you'll get a message like this:
A new beta release is available: macOS Catalina 10.15 beta 2 (19A487l)Otherwise, there will be no output.
Debugging/Troubleshooting
export RELEASE_CHECKER_DEBUG_MODE=trueUse the above command to enable debug output.
unset RELEASE_CHECKER_DEBUG_MODEUse the above command to disable debug output.