mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
ci: Update the release process for v1 release (#6366)
* release 1.0.0-rc from release-v1 branch. * allow creating major releases * disable merging releases back into master
This commit is contained in:
parent
85500d76fb
commit
e8b51c8da9
1
.github/workflows/docker-image-v1-rc.yml
vendored
1
.github/workflows/docker-image-v1-rc.yml
vendored
|
@ -12,6 +12,7 @@ jobs:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
ref: release-v1
|
||||||
|
|
||||||
- uses: pnpm/action-setup@v2.2.4
|
- uses: pnpm/action-setup@v2.2.4
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
|
|
1
.github/workflows/release-create-pr.yml
vendored
1
.github/workflows/release-create-pr.yml
vendored
|
@ -16,6 +16,7 @@ on:
|
||||||
options:
|
options:
|
||||||
- patch
|
- patch
|
||||||
- minor
|
- minor
|
||||||
|
- major
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
create-release-pr:
|
create-release-pr:
|
||||||
|
|
18
.github/workflows/release-publish.yml
vendored
18
.github/workflows/release-publish.yml
vendored
|
@ -55,12 +55,12 @@ jobs:
|
||||||
continue-on-error: true
|
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}}"}'
|
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: |
|
||||||
git fetch origin
|
# git fetch origin
|
||||||
git checkout --track origin/master
|
# git checkout --track origin/master
|
||||||
git config user.name "Jan Oberhauser"
|
# git config user.name "Jan Oberhauser"
|
||||||
git config user.email jan.oberhauser@gmail.com
|
# git config user.email jan.oberhauser@gmail.com
|
||||||
git merge --ff n8n@${{env.RELEASE}}
|
# git merge --ff n8n@${{env.RELEASE}}
|
||||||
git push origin master
|
# git push origin master
|
||||||
git push origin :${{github.event.pull_request.base.ref}}
|
# git push origin :${{github.event.pull_request.base.ref}}
|
||||||
|
|
Loading…
Reference in a new issue