website-update: Take PRODUCTION_BRANCH from the environment.

This commit is contained in:
Brett Smith 2019-11-23 09:18:23 -05:00
parent 2aaea4b783
commit ab0b2401db

View file

@ -3,7 +3,7 @@
set -e set -e
set -u set -u
PRODUCTION_BRANCH=master PRODUCTION_BRANCH="${PRODUCTION_BRANCH:-master}"
git_rev_name() { git_rev_name() {
git rev-parse --abbrev-ref --symbolic-full-name "$@" git rev-parse --abbrev-ref --symbolic-full-name "$@"