jenkins-bot has submitted this change and it was merged. Change subject: push to origin master explicitly ......................................................................
push to origin master explicitly Git has started to throw warnings when the remote and branch are implicit. Change-Id: I8b38c8db4010bed265674115980d340318e59a88 --- M bin/repocommit 1 file changed, 22 insertions(+), 4 deletions(-) Approvals: Siebrand: Looks good to me, approved jenkins-bot: Verified diff --git a/bin/repocommit b/bin/repocommit index 08cda9f..9ee01d4 100755 --- a/bin/repocommit +++ b/bin/repocommit @@ -15,12 +15,21 @@ COMMITMSG="Localisation updates from https://translatewiki.net." + gitCommit() { local dir=$1 cd "$dir" git add . git commit -m "$COMMITMSG" - git push + + # Check if $2 is set. If not, push to origin master + if [[ -z "$2" ]] + then + git push origin master + else + git push origin $2 + fi + cd .. } @@ -45,7 +54,6 @@ GITPROJECTS="\ eol \ europeana \ -etherpad-lite \ freecol \ fuel \ huggle \ @@ -54,12 +62,10 @@ kiwix \ mantis \ mathjax \ -mifos \ nfcring-control \ osm \ vicuna \ waymarked-trails-site \ -wikia \ WikipediaMobile \ WikipediaMobileJ2ME \ WikisourceMobile \ @@ -104,6 +110,10 @@ done svn commit --message "$COMMITMSG" cd .. + +elif [ "$PROJECT" = "etherpad-lite" ] +then + gitCommit "$PROJECT" develop elif [ "$PROJECT" = "fudforum" ] then @@ -176,6 +186,10 @@ mergeL10n-bot +elif [ "$PROJECT" = "mifos" ] +then + gitCommit "$PROJECT" develop + elif [ "$PROJECT" = "nocc" ] then cd $PROJECT @@ -200,6 +214,10 @@ svn commit --message "$COMMITMSG" cd .. +elif [ "$PROJECT" = "wikiblame" ] +then + gitCommit "$PROJECT" dev + else echo "`basename $0`: Unknown project" exit 1 -- To view, visit https://gerrit.wikimedia.org/r/171843 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I8b38c8db4010bed265674115980d340318e59a88 Gerrit-PatchSet: 1 Gerrit-Project: translatewiki Gerrit-Branch: master Gerrit-Owner: Siebrand <[email protected]> Gerrit-Reviewer: Siebrand <[email protected]> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
