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

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™ 2024-04-10 13:01:43 +02:00 committed by GitHub
parent db5c587cc8
commit 9eab357b75
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 2 deletions

View file

@ -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];

View file

@ -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