ci: Update the release workflow (no-changelog) (#6088)

This commit is contained in:
Deborah 2023-04-26 15:08:02 +01:00 committed by GitHub
parent a4eb46acc1
commit f2cbe89785
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: |