From 7ab7f36571a996ce3140fc992253cae381b66fe7 Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Thu, 6 Apr 2017 19:00:11 +0200 Subject: [PATCH] [enh] no need for PR, only push --- should_i_rebuild.sh | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/should_i_rebuild.sh b/should_i_rebuild.sh index 3d10935b..a48ab810 100644 --- a/should_i_rebuild.sh +++ b/should_i_rebuild.sh @@ -1,11 +1,5 @@ #!/bin/bash -install_hub() { - wget https://github.com/github/hub/releases/download/v2.3.0-pre9/hub-linux-amd64-2.3.0-pre9.tgz - tar xf hub-linux-amd64-2.3.0-pre9.tgz - hub-linux-amd64-2.3.0-pre9/bin/hub pull-request -} - set -ex if [ ! "$1" ] @@ -33,17 +27,5 @@ then git commit -m "[mod] update en.json with new translations" git pull yunohost-bot master git push yunohost-bot master - - # uses hub/git-spindle from pypi - # to install: - # $ virtualenv ve - # $ ve/bin/pip install "hub==2.0" - - if [ ! -e hub-linux-amd64-2.3.0-pre9/bin/hub ] - then - install_hub - fi - - hub-linux-amd64-2.3.0-pre9/bin/hub pull-request -h master -m "Update locales/en.json" fi fi