mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-24 04:04:06 -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
|
||||
with:
|
||||
fetch-depth: 0
|
||||
ref: release-v1
|
||||
|
||||
- uses: pnpm/action-setup@v2.2.4
|
||||
- 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:
|
||||
- patch
|
||||
- minor
|
||||
- major
|
||||
|
||||
jobs:
|
||||
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
|
||||
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'
|
||||
run: |
|
||||
git fetch origin
|
||||
git checkout --track origin/master
|
||||
git config user.name "Jan Oberhauser"
|
||||
git config user.email jan.oberhauser@gmail.com
|
||||
git merge --ff n8n@${{env.RELEASE}}
|
||||
git push origin master
|
||||
git push origin :${{github.event.pull_request.base.ref}}
|
||||
# - name: Merge Release into 'master'
|
||||
# run: |
|
||||
# git fetch origin
|
||||
# git checkout --track origin/master
|
||||
# git config user.name "Jan Oberhauser"
|
||||
# git config user.email jan.oberhauser@gmail.com
|
||||
# git merge --ff n8n@${{env.RELEASE}}
|
||||
# git push origin master
|
||||
# git push origin :${{github.event.pull_request.base.ref}}
|
||||
|
|
Loading…
Reference in a new issue