summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan S. Arnold <ryan.arnold@linaro.org>2015-08-05 09:11:58 -0500
committerRyan S. Arnold <ryan.arnold@linaro.org>2015-08-05 09:13:44 -0500
commita3f2946fee909cfa798b1b5e5969d63a865a44be (patch)
tree7da47f4024817d623ab327593f79f843b70dd6de
parent684043e2e5eeea2407cd6f1d3b34c0c9e67c80d8 (diff)
The info() and hint() funcs should be called at beginning and end.
In order to have all of the run information in one place it's helpful to call the info() and hint() functions at both the beginning and end of script execution. Change-Id: I4fcf352ac6b69e8767dc83ce4a0ca7467e2e5b25
-rwxr-xr-xtcwg-release.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/tcwg-release.sh b/tcwg-release.sh
index 590a965..5f88f0a 100755
--- a/tcwg-release.sh
+++ b/tcwg-release.sh
@@ -482,7 +482,6 @@ info() {
print_info "${bold}+--------------------------------------------------------------------------------"
fi
print_info "${italic}${bold}After the build completes push branches and tags to the Linaro git repo:"
- hint
}
# Called at the beginning and the end to give pertinent information to the user.
@@ -760,6 +759,7 @@ REL_DIR="$PWD/../release/gcc-linaro-${rname}"
# Display informational output about this run of ${release_script}.
info
+hint
# Terminal lines (minus 7 to account for interesting prior output.
terminal_lines=$(( $(tput lines) - 7 ))
@@ -856,4 +856,6 @@ popd 1>/dev/null
bump_and_dev "${bump_mode_to}"
+# Output the info a second time so it's all at the end of any captured logs.
+info
hint