maasha
maasha

Reputation: 1995

How to creating Github release that includes submodule?

I have a repo on Github where I have included the Wiki as a submodule as described here.

Unfortunately, if I create a release, download, and unpack the tarball, the wiki directory is empty. Solutions?

Upvotes: 3

Views: 842

Answers (1)

VonC
VonC

Reputation: 1327224

The source code prepared by GitHub for a release always include the repo source itself, not its submodules (as seen, for instance, in this issue).

You could attached to that release an additional artifact, which would be the source archive of the submodule.

Only a git clone --recursive of your repo would include the submodule sources as well.
If you can use git commands, you'll get the submodules content as well.

Upvotes: 1

Related Questions