Skip to content
Browse files

don't assume repos are in my home dir

  • Loading branch information...
1 parent 74ee1a7 commit 27a40242aaaecbb7cbefee2020c7d7faa6cdce73 @sah sah committed with santiycr Jun 14, 2011
Showing with 5 additions and 4 deletions.
  1. +5 −4 publish
9 publish
@@ -1,12 +1,13 @@
echo "I hope you incremented the version number and added all the files you need because this script doesn't do that for you!"
if ! $(pear package-validate | grep -q "0 error"); then
pear package-validate
exit 1
target=$(pear package | tail -n 1 | cut -f2 -d ' ')
-cd ~/pear
-pirum add . ~/phpunit-selenium-sauceondemand/$target
+pushd ../pear
+pirum add . ../phpunit-selenium-sauceondemand/$target
git add -A
git commit -m "auto-deploy"
-git push origin gh-pages
+git push origin gh-pages

0 comments on commit 27a4024

Please sign in to comment.
Something went wrong with that request. Please try again.