From b4dddb05d9be23903c88a974d9f638e78d202b35 Mon Sep 17 00:00:00 2001 From: Martin Gondermann Date: Thu, 21 Dec 2017 21:39:49 +0100 Subject: [PATCH] Bump version in HomeBrew formula to 2.7.1 --- bash-git-prompt.rb | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/bash-git-prompt.rb b/bash-git-prompt.rb index 8da56ac..7243acc 100644 --- a/bash-git-prompt.rb +++ b/bash-git-prompt.rb @@ -1,8 +1,8 @@ class BashGitPrompt < Formula desc "Informative, fancy bash prompt for Git users" homepage "https://github.com/magicmonty/bash-git-prompt" - url "https://github.com/magicmonty/bash-git-prompt/archive/2.6.3.tar.gz" - sha256 "c941b6b34a01ef2e30c8a54bbd908a5ebd8d3e20694dc1a7e84ccbec57258421" + url "https://github.com/magicmonty/bash-git-prompt/archive/2.7.1.tar.gz" + sha256 "5e5fc6f5133b65760fede8050d4c3bc8edb8e78bc7ce26c16db442aa94b8a709" head "https://github.com/magicmonty/bash-git-prompt.git" bottle :unneeded @@ -16,12 +16,16 @@ class BashGitPrompt < Formula doc.install "README.md" end - def caveats; <<-EOS.undent - You should add the following to your .bashrc (or equivalent): + def caveats; <<~EOS + You should add the following to your .bashrc (or .bash_profile if bash is your login shell): if [ -f "#{HOMEBREW_PREFIX}/opt/bash-git-prompt/share/gitprompt.sh" ]; then __GIT_PROMPT_DIR="#{HOMEBREW_PREFIX}/opt/bash-git-prompt/share" source "#{HOMEBREW_PREFIX}/opt/bash-git-prompt/share/gitprompt.sh" fi EOS end + + test do + system "true" + end end