Skip to content

Commit

Permalink
ci: use proper variable for PR creation (n8n version instead of the c…
Browse files Browse the repository at this point in the history
…onfig.json one)

Signed-off-by: Romain Billon <[email protected]>
  • Loading branch information
Rbillon59 committed Oct 29, 2024
1 parent 2b8e8e2 commit e4cccd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/update-to-latest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e4cccd9

Please sign in to comment.