We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 260b90d commit 25c5618Copy full SHA for 25c5618
release.sh
@@ -19,12 +19,12 @@ BUILD_DIR="${SCRIPT_DIR}/tmp-build-$(date +%Y%m%d-%H%M%S)"
19
20
# green prints one line of green text (if the terminal supports it).
21
function green() {
22
- echo -e "\e[0;32m${1}\e[0m"
+ printf "\e[0;32m%s\e[0m\n" "${1}"
23
}
24
25
# red prints one line of red text (if the terminal supports it).
26
function red() {
27
- echo -e "\e[0;31m${1}\e[0m"
+ printf "\e[0;31m%s\e[0m\n" "${1}"
28
29
30
# Use GO_CMD from env if set, otherwise default to "go".
0 commit comments