CheckVersion

The SD.CheckVersion module provides a robust system for automatically checking the current version of a resource against its latest version hosted on a GitHub repository.

Overview

Purpose: To automate the process of checking for updates by comparing the local version of a resource with its most recent version available on GitHub, facilitating streamlined version management and update prompts.

Prints the aformentioned information into console.

Parameters

  • repo (string): The GitHub repository identifier in the format 'owner/repository'.

Usage Example

SD.CheckVersion('owner/repository')

Last updated