From ed6bcd7b9d3ea25ae581a91dd622c1eb8baeb802 Mon Sep 17 00:00:00 2001 From: Daniel Hebestreit <daniel.hebestreit@gmail.com> Date: Mon, 9 Sep 2024 19:49:39 +0200 Subject: [PATCH] feat(template): allow `releaseTimestamp` & `currentVersionTimestamp` (#31286) --- lib/util/template/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/util/template/index.ts b/lib/util/template/index.ts index f7af17fdd6..f58a659756 100644 --- a/lib/util/template/index.ts +++ b/lib/util/template/index.ts @@ -156,6 +156,7 @@ export const allowedFields = { currentValue: 'The extracted current value of the dependency being updated', currentVersion: 'The version that would be currently installed. For example, if currentValue is ^3.0.0 then currentVersion might be 3.1.0.', + currentVersionTimestamp: 'The timestamp of the current version', currentDigest: 'The extracted current digest of the dependency being updated', currentDigestShort: 'The extracted current short digest of the dependency being updated', @@ -219,6 +220,7 @@ export const allowedFields = { references: 'A list of references for the upgrade', releases: 'An array of releases for an upgrade', releaseNotes: 'A ChangeLogNotes object for the release', + releaseTimestamp: 'The timestamp of the release', repository: 'The current repository', semanticPrefix: 'The fully generated semantic prefix for commit messages', sourceRepo: 'The repository in the sourceUrl, if present', -- GitLab