I have a repository that has a bunch of folders, but I want to create releases for just one of those folders.
Simpler story, it's for a gaming server, and I just want to create releases for the client, as the way of offering downloads of the client to players.
When a release is published, the automatically generated Source Code .zip and .tar.gz files include all files in the branch you choose here:
Therefore, I answered the OP's question this way:
git checkout -b rel
)git branch
)git add .
+ git commit -a -m "v1 release"
git push --set-upstream origin rel
)The release will be automatically saved as draft and, only upon publishing, the Source Code archive files will be generated (without the runnables you added above).
P.S.: Images and steps for creating and editing a release available on Managing Releases Gihub Docs page.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With