Skip to content

Commit

Permalink
ci: Keep n8n-workflow version in sync with the main version (no-chang…
Browse files Browse the repository at this point in the history
…elog) (#9107)
  • Loading branch information
netroy committed Apr 11, 2024
1 parent 3fb532d commit a884515
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/scripts/bump-versions.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,10 @@ assert.ok(
'No changes found since the last release',
);

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

for (const packageName in packageMap) {
const { path, version, isDirty } = packageMap[packageName];
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release-push-to-channel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
- run: |
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
npm dist-tag add n8n@${{ github.event.inputs.version }} ${{ github.event.inputs.release-channel }}
npm dist-tag add n8n-workflow@${{ github.event.inputs.version }} ${{ github.event.inputs.release-channel }}
release-to-docker-hub:
name: Release to DockerHub
Expand Down

0 comments on commit a884515

Please sign in to comment.