From e4cccd999d5c0f71dbba1363a312a29d7fe8abea Mon Sep 17 00:00:00 2001 From: Romain Billon Date: Tue, 29 Oct 2024 16:53:01 +0100 Subject: [PATCH] ci: use proper variable for PR creation (n8n version instead of the config.json one) Signed-off-by: Romain Billon --- .github/workflows/update-to-latest.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-to-latest.yaml b/.github/workflows/update-to-latest.yaml index e645c67..5c1e281 100644 --- a/.github/workflows/update-to-latest.yaml +++ b/.github/workflows/update-to-latest.yaml @@ -22,7 +22,7 @@ jobs: new_version="${actual_version}.${new_config}" jq ".version = \"${new_version}\"" config.json > config.json.tmp && mv config.json.tmp config.json n8n_version=$(cat Dockerfile | grep "FROM" | awk -F":" '{print $2}') - echo "::set-output name=new_version::${new_version}" + echo "::set-output name=new_version::${n8n_version}" sed -i "s/## \[Unreleased\]/## \[Unreleased\]\n\n## [ ${new_version} ] - $(date +%Y-%m-%d) \n\n Bump n8n to ${n8n_version} /g" CHANGELOG.md - name: create pull request