simpletacticsgaming/Version generator
Generates a version string. • On the main (or any protected) branch it returns the user provided input • On a pull-request pipeline it returns 0.<PR>#.<RUN_ID>
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| version | Optional version input to use when no PR is open (e.g. 1.2.3). | no | — |
| protected_branches | Comma-separated list of branches where a manual version is allowed. Defaults to 'main,master'. | no | main,master |
Outputs
| name | description |
|---|---|
| version | The computed version string (either the user input or the auto-generated PR version). |