Skip to content

Commit

Permalink
🔨 Fix core tap detection
Browse files Browse the repository at this point in the history
  • Loading branch information
phatblat committed Mar 9, 2024
1 parent 1d04626 commit d932b8c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions script/brew_formula_update
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion script/version
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit d932b8c

Please sign in to comment.