An open API service indexing awesome lists of open source software.

https://github.com/genieframework/versioncheck.jl

Utility package that helps with checking and notifying users of package updates
https://github.com/genieframework/versioncheck.jl

Last synced: 4 months ago
JSON representation

Utility package that helps with checking and notifying users of package updates

Awesome Lists containing this project

README

          

# VersionCheck

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.

## Usage

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:

```julia
module MyPackage

import VersionCheck

function __init__()
try
@async VersionCheck.newversion("MyPackage", url = "")
catch
end
end

end
```

### TODO
* API to export CHANGELOG.html to CHANGELOG.md