Skip to content

feat(release): add root_dir support to release-github workflow#51

Merged
tehw0lf merged 1 commit intomainfrom
feature/release-github-root-dir
Mar 15, 2026
Merged

feat(release): add root_dir support to release-github workflow#51
tehw0lf merged 1 commit intomainfrom
feature/release-github-root-dir

Conversation

@tehw0lf
Copy link
Owner

@tehw0lf tehw0lf commented Mar 15, 2026

Summary

  • Add root_dir input to release-github.yml (default: ".") so version is read from the correct subdirectory manifest
  • Set defaults.run.working-directory accordingly
  • Pass root_dir through from build-test-publish.yml to release-github.yml

Motivation

n8n-nodes-unix-socket-bridge has its package.json in n8n-node/ (not repo root). Without root_dir, the release job read the wrong version and tried to create a duplicate release.

Backwards compatibility

All repos not passing root_dir continue to work unchanged (defaults to ".").

Add root_dir input to release-github.yml so version can be read from
a subdirectory manifest (e.g. n8n-node/package.json). Defaults to "."
for full backwards compatibility. Pass root_dir through from
build-test-publish.yml.
@tehw0lf tehw0lf merged commit cfc9798 into main Mar 15, 2026
2 checks passed
@tehw0lf tehw0lf deleted the feature/release-github-root-dir branch March 15, 2026 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant