jquery - How to put ignored folder into release archive on GitHub? -
in jquery’s releases on github there /dist
folder ignored in .gitignore.
archives automatically generated , not uploaded.
they have special url:
github.com/%owner%/%repo%/archive/%tag%.zip
...while uploaded files have different address format:
github.com/%owner%/%repo%/releases/download/%tag%/%filename%
how possible?
if take @ example tag on github, you'll see dist
directory included:
https://github.com/jquery/jquery/tree/1.11.1-beta1
so archive automatically created tag, includes dist directory. appears jquery/jquery project includes release process includes dist directory when tagging , releasing new version.
ignored files can added using -f
option when calling git add
:
https://www.kernel.org/pub/software/scm/git/docs/git-add.html
Comments
Post a Comment