From e7755acc509c57e0a3fab0147b8120011d79fa4c Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Wed, 16 Mar 2016 17:54:43 -0700 Subject: readme-pull-request script --- bin/readme-pull-request | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 bin/readme-pull-request diff --git a/bin/readme-pull-request b/bin/readme-pull-request new file mode 100755 index 00000000..2b961996 --- /dev/null +++ b/bin/readme-pull-request @@ -0,0 +1,19 @@ +#!/bin/sh + +# pull requests to update READMEs + +set -e + +repo=$(echo $1 | cut -d'/' -f2) +cd $HOME/tmp +clean-github-pr.py $1 +git clone github:spwhitton/$repo +cd $repo +git checkout -b apt-get origin/master +$EDITOR README* +git commit -am "Debian and Ubuntu installation instructions + +This ELPA package is now available from the Debian and Ubuntu package repositories." +git push origin +apt-get +cd .. +rm -rf $repo -- cgit v1.2.3