mirror of
https://github.com/outbackdingo/n8n-chart.git
synced 2026-08-25 14:53:31 +00:00
Add output for NEW_VERSION and update PR comment action
* Add `::set-output name=NEW_VERSION::$NEW_VERSION` to make NEW_VERSION available as output * Add `comment_tag: next_version` to the PR comment action configuration
This commit is contained in:
@@ -39,6 +39,7 @@ jobs:
|
||||
fi
|
||||
echo "New version: $NEW_VERSION"
|
||||
sed -i "s/^version: .*/version: $NEW_VERSION/" n8n/Chart.yaml
|
||||
echo "::set-output name=NEW_VERSION::$NEW_VERSION"
|
||||
|
||||
- name: Commit changes
|
||||
if: github.ref == 'refs/heads/main'
|
||||
@@ -64,6 +65,6 @@ jobs:
|
||||
if: github.event_name == 'pull_request'
|
||||
uses: thollander/actions-comment-pull-request@v3
|
||||
with:
|
||||
comment_tag: next_version
|
||||
message: |
|
||||
Next version to publish after this PR is merged: `${{ steps.bump-version.outputs.NEW_VERSION }}`
|
||||
comment_tag: next_version
|
||||
Next version to publish after this PR is merged: `${{ steps.bump-version.outputs.NEW_VERSION }}`
|
||||
Reference in New Issue
Block a user