Skip to content

Commit

Permalink
fix: Checkout to master on --dev
Browse files Browse the repository at this point in the history
  • Loading branch information
mike325 committed Jun 21, 2023
1 parent 4629b84 commit 8eba6ca
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions bin/get_nvim.sh
Original file line number Diff line number Diff line change
Expand Up @@ -622,17 +622,14 @@ fi

status_msg "Cleaning current build"
make clean
# make distclean

# # Get latest version
# status_msg "Pulling latest changes"
# git checkout master
# git pull origin master

if [[ $DEV -eq 0 ]]; then
BRANCH="${BRANCH:-$(git tag | sort -h | tail -1)}"
status_msg "Checking out to $BRANCH"
git checkout "$BRANCH"
else
git checkout master
# git pull origin master
fi

status_msg "Building neovim"
Expand Down

0 comments on commit 8eba6ca

Please sign in to comment.