Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Keep n8n-workflow version in sync with the main version (no-changelog) #9107

Merged
merged 1 commit into from
Apr 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading