-
Notifications
You must be signed in to change notification settings - Fork 34
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
git submodules #41
Comments
monorepo probably works better for you? See |
Thanks but not quite. It is not a mono repo just needs a git submodule to be complete. I see that isn't normal for GitHub but was hoping for undocumented config options. May need to rethink the submodule or make the release with a custom script. |
I don't know how it works with submodules. How you'd group commits between the modules? You could make a release in the submodule and in your main repo your related commits can reference it? There are a few alternatives to submodules. One of them and probably works the best in most cases is monorepo. I was wondering if you could switch to that. |
Also, just a side note, but depending on the need to support submodules, it may be more appropriate to move this discussion to |
Ah I see a misunderstanding. In this issue I'm looking for the submodule being included in the release assets not anything to do with gathering the submodule commit messages. It looks like the lib does not create its own archive . Any thoughts on tar/zip the cwd and posting that asset - this would include the submodule as long as it was checkout? |
I don't use the downloads on github releases. It might be a feature for github to concern. I'd still use monorepo in this case so that all the source code is available on github releases. |
@tomdavidson thank you for the clarification. We were definitely on different pages. 😄 You are entirely correct in your statement;
For example, since I use this project to release npm packages, I've thought of uploading the artifact that is published to the npm registry using However, in your case, you would want to publish everything under the current working directory (including git submodules). In that very specific case, I think @stevemao is correct in that GitHub should provide support for downloading all source code, including any referenced git submodules. They already provide a download link for the source code, and I don't see how we can provide a better experience than what they could achieve. If you would like us to discuss how we can support uploading arbitrary artifacts, we can move forward with that discussion, though that probably needs to happen on a new issue where we can start fresh on the new topic. |
My itch would be scratch with the archive that npm publish gives. But sometimes one will not want to publish deployables despite wanting a github release (on a private repo). So could you use npm publish but still respect (package.json).private ? |
@tomdavidson You might want to look at private npm repository. |
@hbetts I think pushing artifacts is a very good idea. I just don't know how much demand we have for it. |
This is the first case I have seen related to a My suggestion would be to package the publishing functionality as a separate tool that can be called after My reasoning is that, what we can publish as an artifact can not be determined by Therefore, a separate tool, perhaps called |
Closing this issue out. @tomdavidson please feel free to open an issue on conventional-changelog and the |
Should checked out submodules be included in the release?
The text was updated successfully, but these errors were encountered: