hack: fix release scripts (#157)
Previous release script wasn't committing/tagging in the right order. Also made scripts resistant to: * empty env vars * current workdir the script is invoked from cc: @m-okeefe
This commit is contained in:
parent
cedf3ce827
commit
f3e29f7450
3 changed files with 21 additions and 12 deletions
|
@ -23,8 +23,8 @@ SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|||
|
||||
log() { echo "$1" >&2; }
|
||||
|
||||
TAG="${TAG?TAG env variable must be specified}"
|
||||
REPO_PREFIX="${REPO_PREFIX?REPO_PREFIX env variable must be specified}"
|
||||
TAG="${TAG:?TAG env variable must be specified}"
|
||||
REPO_PREFIX="${REPO_PREFIX:?REPO_PREFIX env variable must be specified}"
|
||||
OUT_DIR="${OUT_DIR:-${SCRIPTDIR}/../release}"
|
||||
|
||||
read_manifests() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue