Consistently use [[ for if statements.
This commit is contained in:
parent
dc1df6671c
commit
21c0cad8a0
2
bump-tag
2
bump-tag
|
@ -255,7 +255,7 @@ while [[ -z "${ok}" ]]; do
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
if [ "${deftag}" != "${tagpfx}" ]; then
|
if [[ "${deftag}" != "${tagpfx}" ]]; then
|
||||||
echo -e "Using new tag \e[94m${this_tag}\e[0m according to pattern in cosmos.conf"
|
echo -e "Using new tag \e[94m${this_tag}\e[0m according to pattern in cosmos.conf"
|
||||||
else
|
else
|
||||||
echo -e "Using new tag \e[94m${this_tag}\e[0m"
|
echo -e "Using new tag \e[94m${this_tag}\e[0m"
|
||||||
|
|
Loading…
Reference in a new issue