Skip to content

Commit 9eab357

Browse files
authored
ci: Keep n8n-workflow version in sync with the main version (no-changelog) (#9107)
1 parent db5c587 commit 9eab357

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/scripts/bump-versions.mjs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,10 @@ assert.ok(
3333
'No changes found since the last release',
3434
);
3535

36-
// Keep the monorepo version up to date with the released version
37-
packageMap['monorepo-root'].version = packageMap['n8n'].version;
36+
// Keep the monorepo and n8n-workflow version up to date with the released version
37+
const { version } = packageMap['n8n'];
38+
packageMap['monorepo-root'].version = version;
39+
packageMap['n8n-workflow'].version = version;
3840

3941
for (const packageName in packageMap) {
4042
const { path, version, isDirty } = packageMap[packageName];

.github/workflows/release-push-to-channel.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
- run: |
2929
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
3030
npm dist-tag add n8n@${{ github.event.inputs.version }} ${{ github.event.inputs.release-channel }}
31+
npm dist-tag add n8n-workflow@${{ github.event.inputs.version }} ${{ github.event.inputs.release-channel }}
3132
3233
release-to-docker-hub:
3334
name: Release to DockerHub

0 commit comments

Comments
 (0)