What about cases where the build process relies on the source tree being a proper git repo as it uses commit history? I have a couple of things (namely, dart-sdk and deltachat-desktop) I can't submit because of this, and I have no desire to tarball the entire git tree.
On May 14, 2026 02:31:29 GMT+03:00, Christoph Willing <[email protected]> wrote: >On 14/5/26 01:25, Kyle Jerviss wrote: >Have a look at multimedia/obs-studio/get-obs-studio.sh which checks out a git >repo, pulls in the submodules and generates a tarball. It specifies a >particular git tag and uses that as the VERSIONĀ for the tarball. > >If you just want the master branch (so no real version number), have a look at >system/incus-ui/get-incus-ui.sh which uses the date of last commit and its >abbreviated git hash to generate a usable version string. This is based on >something I saw in one of Pat's scripts and it works very well. This one >doesn't check out submodules but you easily add that like the >get-obs-studio.sh script does. _______________________________________________ SlackBuilds-users mailing list [email protected] https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/ FAQ - https://slackbuilds.org/faq/
