actions-marketplace-validations/Flutter Auto Tag
Automatically bumps the version in the pubspec.yaml
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| GITHUB_TOKEN | Required for permission to tag the repo. | yes | — |
| package_root | Autotag will look for the pubspec.yaml file in in this location. | no | ./ |
| tag_prefix | By default, pubspec.yaml uses semantic versioning, such as "1.0.0". A prefix can be used to add text before the tag name. For example, if tag_prefx is set to "v", then the tag would be labeled as "v1.0.0". | no | — |
| tag_suffix | Text which is applied to the end of the tag. | no | — |
| tag_message | This is the annotated commit message associated with the tag. By default, a changelog will be generated from the commits between the latest tag and the new tag (HEAD). This will override that with a hard-coded message. | no | — |
| changelog_structure | A string denoting changelog format. Supports `{{message}}`, {{messageHeadline}}, `{{author}}` and `{{sha}}`. Defaults to `**1) {{message}}** {{author}} (SHA: {{sha}}) ` Only used when tag_message is empty. | no | — |
| version | Explicitly set the version here instead of automatically detecting from `pubspec.yaml`. Useful for non-Flutter projects where version may be output by a previous action. | no | — |
Outputs
| name | description |
|---|---|
| tagname | Returns the new tag value. Empty if a tag is not created. |
| tagsha | The SHA of the new tag. |
| taguri | The URI/URL of the new tag reference. |
| tagmessage | The messge applied to the tag reference (this is what shows up on the tag screen on Github). |
| version | The version, as defined in pubspec.yaml or explicitly set in the input. |