diff --git a/tools/scripts/releaser/self-update b/tools/scripts/releaser/self-update new file mode 100644 index 0000000000000000000000000000000000000000..911305a2547272bf242440d16f7aaa0ba0b00e29 --- /dev/null +++ b/tools/scripts/releaser/self-update @@ -0,0 +1,16 @@ +#!/bin/bash +set -e + +git_user="$1" +git_branch="$2" + +if [ -z "$git_user" -o -z "$git_branch" ]; then + echo "Download the releaser" + echo "usage: $0 <github-user-or-company> <branch>" + echo "example: $0 civicrm master" + exit 1 +fi + +wget -O gitify "https://raw.github.com/${git_user}/civicrm-core/${git_branch}/bin/gitify" +wget -O releaser "https://raw.github.com/${git_user}/civicrm-core/${git_branch}/tools/scripts/releaser/releaser" +wget -O releaser.conf.txt "https://raw.github.com/${git_user}/civicrm-core/${git_branch}/tools/scripts/releaser/releaser.conf.txt"