mirror of
https://github.com/reecetech/version-increment.git
synced 2025-12-21 06:25:44 +00:00
Remove duplicate code
The functionality is included in `shared.sh` which is sourced by this file
This commit is contained in:
@@ -10,18 +10,6 @@ if [[ "${input_errors}" == 'true' ]] ; then
|
|||||||
exit 8
|
exit 8
|
||||||
fi
|
fi
|
||||||
|
|
||||||
##==----------------------------------------------------------------------------
|
|
||||||
## MacOS compatibility - for local testing
|
|
||||||
|
|
||||||
export grep="grep"
|
|
||||||
if [[ "$(uname)" == "Darwin" ]] ; then
|
|
||||||
export grep="ggrep"
|
|
||||||
if ! grep --version 1>/dev/null ; then
|
|
||||||
echo "🛑 GNU grep not installed, try brew install coreutils" 1>&2
|
|
||||||
exit 9
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
##==----------------------------------------------------------------------------
|
##==----------------------------------------------------------------------------
|
||||||
## Get tags from GitHub repo
|
## Get tags from GitHub repo
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user