Commit | Line | Data |
---|---|---|
18fab8a8 TO |
1 | #!/bin/bash |
2 | set -e | |
3 | ||
4 | git_user="$1" | |
5 | git_branch="$2" | |
6 | ||
7 | if [ -z "$git_user" -o -z "$git_branch" ]; then | |
8 | echo "Download the releaser" | |
9 | echo "usage: $0 <github-user-or-company> <branch>" | |
10 | echo "example: $0 civicrm master" | |
11 | exit 1 | |
12 | fi | |
13 | ||
14 | wget -O gitify "https://raw.github.com/${git_user}/civicrm-core/${git_branch}/bin/gitify" | |
15 | wget -O releaser "https://raw.github.com/${git_user}/civicrm-core/${git_branch}/tools/scripts/releaser/releaser" | |
16 | wget -O releaser.conf.txt "https://raw.github.com/${git_user}/civicrm-core/${git_branch}/tools/scripts/releaser/releaser.conf.txt" |