diff --git a/script/brew_formula_update b/script/brew_formula_update index 3027ffe..56b3f93 100755 --- a/script/brew_formula_update +++ b/script/brew_formula_update @@ -47,11 +47,11 @@ echo "REVISION: $REVISION" export HOMEBREW_NO_INSTALL_FROM_API=1 # Ensure core is tapped -if test -d "${CORE_TAP_PATH}"; then +if ! test -d "${CORE_TAP_PATH}"; then brew tap homebrew/core fi -if test ! -f "${MAS_FORMULA_PATH}"; then +if ! test -f "${MAS_FORMULA_PATH}"; then brew install mas fi diff --git a/script/version b/script/version index 21756bb..5107dd8 100755 --- a/script/version +++ b/script/version @@ -12,7 +12,7 @@ if git describe >/dev/null 2>&1; then MAS_VERSION=$(git describe --abbrev=0 --tags 2>/dev/null || true) else - MAS_VERSION=0.0.0 + MAS_VERSION=1.0.0 fi MAS_VERSION=${MAS_VERSION#v} echo "${MAS_VERSION}"