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

View File

@ -5,7 +5,7 @@ specfile_path: golang.spec
upstream_tag_template: go{version} upstream_tag_template: go{version}
actions: actions:
changelog-entry: changelog-entry:
- echo "New release ${PACKIT_PROJECT_VERSION}" - bash -c "echo - New release ${PACKIT_PROJECT_VERSION}"
jobs: jobs:
- job: pull_from_upstream - job: pull_from_upstream
trigger: release trigger: release