From 84a6fa518f3d2e629dbb80774d3461866f64718d Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Sat, 3 Feb 2024 00:18:09 +0100 Subject: [PATCH] add commit.prerelease (CI_COMMIT_PRERELEASE) --- DOCS.md | 1 + bin/console | 1 + 2 files changed, 2 insertions(+) diff --git a/DOCS.md b/DOCS.md index c099d83..c031951 100644 --- a/DOCS.md +++ b/DOCS.md @@ -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` | diff --git a/bin/console b/bin/console index a4da810..1ae982e 100755 --- a/bin/console +++ b/bin/console @@ -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',