File tree Expand file tree Collapse file tree 5 files changed +7
-7
lines changed
Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ if ! command -v python >/dev/null 2>&1; then
1414fi
1515
1616if ! python -c " import build" & > /dev/null; then
17- echo " [ERROR]: 'build' python package is not installed!"
17+ echo " [ERROR]: 'build' python package is not installed!" >&2
1818 exit 1
1919fi
2020# # --- Base --- ##
Original file line number Diff line number Diff line change 8282
8383
8484if [ -z " ${_BUMP_TYPE:- } " ]; then
85- echo " [ERROR]: Bump type is empty, use '-b=' or '--bump-type=' argument!"
85+ echo " [ERROR]: Bump type is empty, use '-b=' or '--bump-type=' argument!" >&2
8686 exit 1
8787fi
8888
8989if [ " ${_BUMP_TYPE} " != " major" ] && [ " ${_BUMP_TYPE} " != " minor" ] && [ " ${_BUMP_TYPE} " != " patch" ]; then
90- echo " [ERROR]: Bump type '${_BUMP_TYPE} ' is invalid, should be: 'major', 'minor' or 'patch'!"
90+ echo " [ERROR]: Bump type '${_BUMP_TYPE} ' is invalid, should be: 'major', 'minor' or 'patch'!" >&2
9191 exit 1
9292fi
9393
@@ -138,7 +138,7 @@ main()
138138 if [ " ${_IS_TAG} " == true ]; then
139139 echo " [INFO]: Tagging 'v${_new_version} '..."
140140 if git rev-parse " v${_new_version} " > /dev/null 2>&1 ; then
141- echo " [ERROR]: 'v${_new_version} ' tag is already exists!"
141+ echo " [ERROR]: 'v${_new_version} ' tag is already exists!" >&2
142142 exit 1
143143 fi
144144 git tag " v${_new_version} " || exit 2
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ if ! command -v gh >/dev/null 2>&1; then
1818fi
1919
2020if ! gh auth status > /dev/null 2>&1 ; then
21- echo " [ERROR]: You need to login: 'gh auth login'!"
21+ echo " [ERROR]: You need to login: 'gh auth login'!" >&2
2222 exit 1
2323fi
2424# # --- Base --- ##
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ if ! command -v gh >/dev/null 2>&1; then
1919fi
2020
2121if ! gh auth status > /dev/null 2>&1 ; then
22- echo " [ERROR]: You need to login: 'gh auth login'!"
22+ echo " [ERROR]: You need to login: 'gh auth login'!" >&2
2323 exit 1
2424fi
2525
Original file line number Diff line number Diff line change 7070
7171if [ " ${_IS_COVERAGE} " == true ]; then
7272 if ! python -c " import pytest_cov" & > /dev/null; then
73- echo " [ERROR]: 'pytest-cov' python package is not installed!"
73+ echo " [ERROR]: 'pytest-cov' python package is not installed!" >&2
7474 exit 1
7575 fi
7676fi
You can’t perform that action at this time.
0 commit comments