Utility package for checking if a new version of a Julia package is available. It uses the current Project.toml file and a special CHANGELOG.html file to determine the latest versions.
Create a CHANGELOG.html file similar to the CHANGELOG_sample.html file included in this package. Host the CHANGELOG.html file on a publicly accessible web server.
In your package, add a check like the following:
module MyPackage
import VersionCheck
function __init__()
try
@async VersionCheck.newversion("MyPackage", url = "<URL to CHANGELOG.html>")
catch
end
end
end- API to export CHANGELOG.html to CHANGELOG.md