mirror of
https://github.com/outbackdingo/n8n-chart.git
synced 2026-08-25 07:20:23 +00:00
fix(ci): update README with latest version when releasing
This commit is contained in:
@@ -39,6 +39,7 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
echo "New version: $NEW_VERSION"
|
echo "New version: $NEW_VERSION"
|
||||||
sed -i "s/^version: .*/version: $NEW_VERSION/" n8n/Chart.yaml
|
sed -i "s/^version: .*/version: $NEW_VERSION/" n8n/Chart.yaml
|
||||||
|
sed -i "s/--version [0-9.]*/--version $NEW_VERSION/" README.md
|
||||||
echo "::set-output name=NEW_VERSION::$NEW_VERSION"
|
echo "::set-output name=NEW_VERSION::$NEW_VERSION"
|
||||||
|
|
||||||
- name: Commit changes
|
- name: Commit changes
|
||||||
@@ -47,7 +48,7 @@ jobs:
|
|||||||
git config --global user.name 'github-actions[bot]'
|
git config --global user.name 'github-actions[bot]'
|
||||||
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
|
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
|
||||||
git add n8n/Chart.yaml
|
git add n8n/Chart.yaml
|
||||||
git commit -m "ci: bump chart version to $NEW_VERSION"
|
git commit -m "ci: bump chart version to ${{ steps.bump-version.outputs.NEW_VERSION }}"
|
||||||
git push
|
git push
|
||||||
|
|
||||||
- name: Create release
|
- name: Create release
|
||||||
|
|||||||
Reference in New Issue
Block a user