-
Notifications
You must be signed in to change notification settings - Fork 365
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
release tarballs don't include submodules #317
Comments
Hi Zach, If there's a straightforward way to include submodules in GitHub releases, I'd support making this change, but I haven't yet encountered a good solution for this. Here's a related post on the GitHub community forum, which puts this in the category of feature requests for GitHub: All the best, -Jonathan |
Hi Jonathan, So after some digging around and finding a ton of other people wanting the same feature, you are correct, there is no straightforward way to do it. So I made a way (which hopefully proves good+easy+standalone) to do it here (including the module's source): I've forked this repo and tested adding the resultant tar.gz here: It's simple to add the tar.gz that is output from the git-archive-submodules to the release on the web interface of GitHub. This looks like a great way to automate the upload with the tagged release: This is the piece I needed to get the homebrew formula for MaterialX working, which is now available here: I'm working my way through all the usd dependencies so we can have a full homebrew install of the usd stack. If you decide to incorporate this into your release system, please let me know and I'll delete my fork of MaterialX and repoint homebrew to your release. Maybe I can see if I can work this into GitHub somehow... :-) Thanks |
Thanks for this excellent follow-up, Zach, and we'll give your script a try for our next release! |
Fixed in MaterialX v1.36.5: |
Codelite now uses git submodules. The tarball was previously created automatically by github from the '17.0.0'-tagged commit. However github fails to notice submodules, so their code fails to be included in the tarball: see e.g. AcademySoftwareFoundation/MaterialX#317 As a workaround, upstream has provided a tarball on www.4pane.co.uk.
Hi,
If I download a release tar.gz (i.e. v1.36.4.tar.gz), and run cmake to build and include the option to build the viewer, it fails with this error:
Building from a git clone works great.
Is there a way the submodules could be included with the release tar.gz files?
Thanks,
Zach
The text was updated successfully, but these errors were encountered: