add commit.prerelease (CI_COMMIT_PRERELEASE)
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Simon Vieille 2024-02-03 00:18:09 +01:00
parent 20daf68990
commit 0ca566e5e2
Signed by: deblan
GPG key ID: 579388D585F70417
2 changed files with 2 additions and 0 deletions

View file

@ -76,6 +76,7 @@ See the [Twig documentation](https://twig.symfony.com/doc/3.x/).
| `commit.author` | `CI_COMMIT_AUTHOR` |
| `commit.author_email` | `CI_COMMIT_AUTHOR_EMAIL` |
| `commit.author_avatar` | `CI_COMMIT_AUTHOR_AVATAR` |
| `commit.prerelease` | `CI_COMMIT_PRERELEASE` |
| `prev_commit.sha` | `CI_PREV_COMMIT_SHA` |
| `prev_commit.ref` | `CI_PREV_COMMIT_REF` |
| `prev_commit.branch` | `CI_PREV_COMMIT_BRANCH` |

View file

@ -32,6 +32,7 @@ $build = EnvVarLoader::buildArray([
'author' => 'CI_COMMIT_AUTHOR',
'author_email' => 'CI_COMMIT_AUTHOR_EMAIL',
'author_avatar' => 'CI_COMMIT_AUTHOR_AVATAR',
'prerelease' => 'CI_COMMIT_PRERELEASE',
],
'prev_commit' => [
'sha' => 'CI_PREV_COMMIT_SHA',