-
-
Couldn't load subscription status.
- Fork 57
Description
You can embed tar.gz files into installation scripts, and the installation script will automatically extract the tarball and then install it. This means that there are now only two installation steps for users:
$ wget https://github.com/sourceryinstitute/opencoarrays/some-path/1.2.0/install.sh
$ ./install.sh # tarball is self extracted from this file
instead of:
$ wget https://github.com/sourceryinstitute/opencoarrays/releases/download/1.2.0/opencoarrays-1.2.0.tar.gz
$ tar xzvf opencoarrays-1.2.0.tar.gz
$ cd opencoarrays-1.2.0
$ ./install.sh
I can submit a PR with edits to accomplish this, if you like. (But first I want to understand why branch-1.0.0 and master have diverged so much, and which branch I should submit the PR against. Here is a link to an article describing how you can do this sort of thing: http://www.linuxjournal.com/content/add-binary-payload-your-shell-scripts.
And this is how to add artifacts to releases:
https://help.github.com/articles/creating-releases/
(Make sure to add a note with the cryptographic hash of the shell script, though to make sure it hasn't been tampered with.