From: Tim Otten Date: Wed, 6 Mar 2013 09:29:36 +0000 (-0500) Subject: CRM-11658 - "releaser/self-update" X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=18fab8a89c833da4adcbf9124eef58dba8b9e64f;p=civicrm-core.git CRM-11658 - "releaser/self-update" Add script to download the releaser+gitify. This should be used on the production build environment instead of maintaining an extraneous working-copy. --- diff --git a/tools/scripts/releaser/self-update b/tools/scripts/releaser/self-update new file mode 100644 index 0000000000..911305a254 --- /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 " + 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"