mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
ci: Update the release workflow (no-changelog) (#6088)
This commit is contained in:
parent
a4eb46acc1
commit
f2cbe89785
9
.github/workflows/release-publish.yml
vendored
9
.github/workflows/release-publish.yml
vendored
|
@ -41,12 +41,19 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
|
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
|
||||||
pnpm publish -r --publish-branch ${{github.event.pull_request.base.ref}} --access public --tag rc
|
pnpm publish -r --publish-branch ${{github.event.pull_request.base.ref}} --access public --tag rc
|
||||||
|
npm dist-tag rm n8n rc
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create a Release on GitHub
|
||||||
uses: ncipollo/release-action@v1
|
uses: ncipollo/release-action@v1
|
||||||
with:
|
with:
|
||||||
commit: ${{github.event.pull_request.base.ref}}
|
commit: ${{github.event.pull_request.base.ref}}
|
||||||
tag: 'n8n@${{env.RELEASE}}'
|
tag: 'n8n@${{env.RELEASE}}'
|
||||||
|
prerelease: true
|
||||||
|
makeLatest: false
|
||||||
|
|
||||||
|
- name: Trigger a release note
|
||||||
|
continue-on-error: true
|
||||||
|
run: curl -u docsWorkflows:${{ secrets.N8N_WEBHOOK_DOCS_PASSWORD }} --request GET 'https://internal.users.n8n.cloud/webhook/trigger-release-note' --header 'Content-Type:application/json' --data '{"version":"${{env.RELEASE}}"}'
|
||||||
|
|
||||||
- name: Merge Release into 'master'
|
- name: Merge Release into 'master'
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in a new issue