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

Running semantic release on the top level project #98

Open
3 tasks done
juancarlosjr97 opened this issue Oct 4, 2023 · 1 comment
Open
3 tasks done

Running semantic release on the top level project #98

juancarlosjr97 opened this issue Oct 4, 2023 · 1 comment

Comments

@juancarlosjr97
Copy link

juancarlosjr97 commented Oct 4, 2023

Issue type

  • idea / discussion

Acknowledgement

Great work guys, with this issue (actually discussion) I hope I can contribute to the library and its support of it as I am big fan of semantic release :)

Discussion

I have projects that have a global configuration, or shared local packages and we have a monorepo structure. Now, the monorepo release works as expected, with no issues, but the top level as a whole does not run.

Based on what I could find, this is intended, as this runs as part of a semantic release. However, I thought of a workaround which was to trigger semantic release for monorepo and traditional repository, which is the issue. When semantic release runs for the top level project, if it is before, semantic release monorepo will see the branch as behind and it if is after the traditional monorepo will see it as behind so, so unless they run in parallel and pull the repository before any of them run the semantic release git change, then it does not work.

Actual behavior

I would love to run semantic release monorepo and if I have 5 workspaces, it will identify 6 releases, including the top level project as a whole and that could be optional.

  • I've read the docs. This case is not mentioned
  • Similar issue does not exist

Steps to reproduce

Specifications

@juancarlosjr97
Copy link
Author

Looking at the code, here https://github.com/qiwi/multi-semantic-release/blob/master/lib/multiSemanticRelease.js#L116 I have some thoughts to make it work, but if there is something we would like to add, I can make some time for it!

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

No branches or pull requests

1 participant