commit b68770af9fe466ae297368b42dd8fb03d34171a9 Author: Ricky Elrod ricky@elrod.me Date: Wed Mar 12 05:22:56 2014 -0400
add a convenience script for maintainers
download-from-github.sh | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) --- diff --git a/download-from-github.sh b/download-from-github.sh new file mode 100755 index 0000000..9f5c597 --- /dev/null +++ b/download-from-github.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env bash +# (Note: This isn't used in the build at all, just a convenience script to +# avoid having to copy-paste the download link from GitHub each update). + +if [ "$1" == "" ]; then + echo 'usage: ./download-from-github <elixir version>' + exit 1 +fi + +wget -O "elixir-$1.tar.gz" \ + "https://github.com/elixir-lang/elixir/archive/v$1.tar.gz"
erlang@lists.fedoraproject.org