alastairmarchant/Detect and Tag New Version
Tag new versions in your repository based on changes to its contents, like a `package.json` or `.gemspec` file.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| version-command | A shell command whose output when executed will be considered the version of your repository for the commit at which it's currently checked out. | — | — |
| create-tag | Whether or not a tag should be created if a new version is detected. | — | true |
| tag-template | A template for producing a tag name from the current version of your repository, replacing '{VERSION}' with the detected version. | — | v{VERSION} |
| tag-annotation-template | A template for producing a tag annotation from the current version of your repository, replacing '{VERSION}' with the detected version. May be set to an empty string to produce a lightweight (i.e. annotation-less) tag. | — | Released version {VERSION} |
Outputs
| name | description |
|---|---|
| previous-version | the detected previous version of this repository |
| current-version | the detected current version of this repository |
| tag | if a new tag is created, this output will contain its name |