interstellar-lab/Check Version
Check version number in version file versus latest published version tag
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| version-file | Path to the version file | yes | .VERSION |
| check-only | If "yes", will only check if version in version-file is valid; if "no" will also push a new tag (default: "no") | no | no |
| read-only | If "yes", will only read the version-file without any other check (default: "no") | no | no |
| release-only | If "yes", will try to release last tag with pre-release suffix (default: "no") | no | no |
| suffix | suffix that will be append after the version number and a dash. For example if suffix is "pre-release" and version in file is 1.2.3; the tag in git will be v1.2.3-pre-release | no | "" |
| working-directory | Directory in which to run the action | no | . |
Outputs
| name | description |
|---|---|
| last-version | Last version tag published |
| new-version | New version contained in the version file |