draios/Checkout the x (or latest) upstream version and apply a patch
Checkout the x (or latest) upstream version and apply a patch
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| upstream_repo | The upstream repo that we want to checkout and patch | yes | — |
| upstream_ref | The upstream ref, can be: branch, tag, sha, if not provided last semver tag will be grabbed | no | — |
| upstream_tag_regex | Regex to use while checking the last upstream versions | no | — |
| local_patch_dir | Directory of the patch files, must end with .patch | yes | — |
| upstream_remove_files | Line separated list of files to remove from upstream repository | no | — |
| upstream_copy | Line separated pair of source directory from upstream and destinations. The fields are passed as is to the cp command | no | — |
Outputs
| name | description |
|---|---|
| latest | True/False if we used the last tag from upstream or not |
| tag | Upstream tag ref checked out and patched |
| tag_major | Upstream tag major semver |
| tag_minor | Upstream tag major minor |
| tag_patch | Upstream tag major patch |