mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-01 14:38:50 +00:00
12 lines
299 B
Markdown
12 lines
299 B
Markdown
# Version check
|
|
|
|
### lib.versionCheck
|
|
Compares the resource version to the latest published release on GitHub.
|
|
```lua
|
|
-- repository: string
|
|
lib.versionCheck(repository)
|
|
|
|
lib.versionCheck('overextended/ox_lib')
|
|
```
|
|
|
|
[Utilises GitHub's release API](https://docs.github.com/en/rest/reference/releases) |