itstor/Check Upgradable Version
Check the latest version of package.json then compare with the latest release on GitHub
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Sep 27, 2024
- License
- MIT
Pinned Snippet
uses: itstor/check-upgradable-version@1bb8137d4a401732eaf9341f82849d74cc22c01e # v2.0.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| owner | The name of the owner of the repo. Used to identify the owner of the repository. | no | — |
| repo | The name of the repository. Used to identify the repository on which to release. | no | — |
| package_json_path | The path to the package.json file. Can be used for monorepo. Example packages/app/ | no | . |
| debug | Show output for debugging | no | false |
| version_prefix | The prefix used in version tag (e.g., 'v') | no | — |
| include_prefix | Whether to include the version_prefix in the to_version and from_version outputs | no | false |
| prerelease_suffix_regex | Regex to match prerelease suffixes | no | -(alpha|beta|rc)\. |
Outputs
| name | description |
|---|---|
| from_version | The latest version of the release |
| to_version | The current version of the package.json |
| is_upgradable | Is upgradable |
| is_prerelease | Whether the current version is a prerelease |