From c5323200576f87123aae71a9f53a5aec4b7e32fb Mon Sep 17 00:00:00 2001 From: Dawid Dziurla Date: Thu, 4 Jun 2020 16:03:14 +0200 Subject: [PATCH] Strip `v` prefix from brew commit and PR title (#1670) Signed-off-by: Dawid Dziurla --- build/brew/create_brew_pr.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/brew/create_brew_pr.sh b/build/brew/create_brew_pr.sh index 072a8cf56..3cc1e85da 100755 --- a/build/brew/create_brew_pr.sh +++ b/build/brew/create_brew_pr.sh @@ -29,7 +29,7 @@ gem install parser ruby ../brew_update.rb $GAUGE_VERSION ./Formula/gauge.rb git add ./Formula/gauge.rb -git commit -m "gauge v$GAUGE_VERSION" +git commit -m "gauge $GAUGE_VERSION" git push "https://$HOMEBREW_GITHUB_USER_NAME:$GITHUB_TOKEN@github.com/$HOMEBREW_GITHUB_USER_NAME/homebrew-core.git" "gauge-$GAUGE_VERSION" -echo -e "gauge v$GAUGE_VERSION \n\n Please cc getgauge/core for any issue." > desc.txt +echo -e "gauge $GAUGE_VERSION \n\n Please cc getgauge/core for any issue." > desc.txt hub pull-request --base Homebrew:master --head $HOMEBREW_GITHUB_USER_NAME:$BRANCH -F ./desc.txt