add a convenience script for maintainers
This commit is contained in:
parent
bef6baf241
commit
b68770af9f
11
download-from-github.sh
Executable file
11
download-from-github.sh
Executable file
@ -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"
|
Loading…
Reference in New Issue
Block a user