summaryrefslogtreecommitdiff
path: root/bin/readme-pull-request
diff options
context:
space:
mode:
Diffstat (limited to 'bin/readme-pull-request')
-rwxr-xr-xbin/readme-pull-request19
1 files changed, 19 insertions, 0 deletions
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