From c34e1b9ade04cd07274a1e78c5e3efa462d8b7dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikola=20Forr=C3=B3?= Date: Mon, 14 Aug 2023 15:03:58 +0200 Subject: [PATCH] Fix changelog-entry action MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Actions don't run in a shell, so in order to expand the environment variable it is necessary to wrap the command in a shell invocation. Signed-off-by: Nikola Forró --- .packit.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.packit.yaml b/.packit.yaml index 8d350af..4d86a08 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -5,7 +5,7 @@ specfile_path: golang.spec upstream_tag_template: go{version} actions: changelog-entry: - - echo "New release ${PACKIT_PROJECT_VERSION}" + - bash -c "echo - New release ${PACKIT_PROJECT_VERSION}" jobs: - job: pull_from_upstream trigger: release