Fix changelog-entry action

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ó <nforro@redhat.com>
This commit is contained in:
Nikola Forró 2023-08-14 15:03:58 +02:00 committed by alexsaezm
parent 03f41c1422
commit c34e1b9ade
1 changed files with 1 additions and 1 deletions

View File

@ -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