mirror of
https://github.com/n8n-io/n8n.git
synced 2026-06-19 07:36:52 +00:00
ci: Always bump cli and always create patch on dispatch (#32032)
This commit is contained in:
@@ -260,6 +260,8 @@ async function bumpVersions() {
|
||||
|
||||
propagateDirtyTransitively(packageMap, depsByPackage);
|
||||
|
||||
// Always mark the `cli` package as dirty, so it's version always gets incremented
|
||||
packageMap["n8n"].isDirty = true;
|
||||
// Keep the monorepo version up to date with the released version
|
||||
packageMap['monorepo-root'].version = packageMap['n8n'].version;
|
||||
|
||||
|
||||
@@ -46,7 +46,7 @@ jobs:
|
||||
skip-release-pr:
|
||||
name: Skip release PR (no new commits)
|
||||
needs: [determine-version-info]
|
||||
if: needs.determine-version-info.outputs.should_update != 'true'
|
||||
if: needs.determine-version-info.outputs.should_update != 'true' && github.event_name != 'workflow_dispatch'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Log skip reason
|
||||
@@ -55,7 +55,7 @@ jobs:
|
||||
create-release-pr:
|
||||
name: Create release PR
|
||||
needs: [determine-version-info]
|
||||
if: needs.determine-version-info.outputs.should_update == 'true'
|
||||
if: needs.determine-version-info.outputs.should_update == 'true' || github.event_name == 'workflow_dispatch'
|
||||
uses: ./.github/workflows/release-create-pr.yml
|
||||
secrets: inherit
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user