mirror of
https://github.com/outbackdingo/n8n-chart.git
synced 2026-01-28 02:19:37 +00:00
fix(ci): update README with latest version when releasing
This commit is contained in:
3
.github/workflows/ci-version-bump.yml
vendored
3
.github/workflows/ci-version-bump.yml
vendored
@@ -39,6 +39,7 @@ jobs:
|
||||
fi
|
||||
echo "New version: $NEW_VERSION"
|
||||
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"
|
||||
|
||||
- name: Commit changes
|
||||
@@ -47,7 +48,7 @@ jobs:
|
||||
git config --global user.name 'github-actions[bot]'
|
||||
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
|
||||
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
|
||||
|
||||
- name: Create release
|
||||
|
||||
Reference in New Issue
Block a user