Git Product home page Git Product logo

Comments (4)

jstone-lucasfilm avatar jstone-lucasfilm commented on May 14, 2024

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:

https://github.community/t5/How-to-use-Git-and-GitHub/Create-Release-that-contains-submodule/td-p/12073

All the best,

-Jonathan

from materialx.

nzanepro avatar nzanepro commented on May 14, 2024

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):
https://github.com/nzanepro/git-archive-submodules
(cd to your repo root, run git-archive-submodules.sh from the repo above, voila!)

I've forked this repo and tested adding the resultant tar.gz here:
https://github.com/nzanepro/MaterialX/releases/tag/v1.36.4-including-submodules

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:
https://github.com/itchio/gothub

This is the piece I needed to get the homebrew formula for MaterialX working, which is now available here:
https://github.com/nzanepro/homebrew-usd
(install homebrew on macOS, then brew install nzanepro/usd/materialx)

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
Zach

from materialx.

jstone-lucasfilm avatar jstone-lucasfilm commented on May 14, 2024

Thanks for this excellent follow-up, Zach, and we'll give your script a try for our next release!

from materialx.

jstone-lucasfilm avatar jstone-lucasfilm commented on May 14, 2024

Fixed in MaterialX v1.36.5:
https://github.com/materialx/MaterialX/releases/tag/v1.36.5

from materialx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.