Merge remote-tracking branch 'upstream/4.4' into 4.4-4.5-2014-10-14-11-16-10
[civicrm-core.git] / tools / scripts / releaser / self-update
CommitLineData
18fab8a8
TO
1#!/bin/bash
2set -e
3
4git_user="$1"
5git_branch="$2"
6
7if [ -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
12fi
13
14wget -O gitify "https://raw.github.com/${git_user}/civicrm-core/${git_branch}/bin/gitify"
15wget -O releaser "https://raw.github.com/${git_user}/civicrm-core/${git_branch}/tools/scripts/releaser/releaser"
16wget -O releaser.conf.txt "https://raw.github.com/${git_user}/civicrm-core/${git_branch}/tools/scripts/releaser/releaser.conf.txt"