Skip to content
This repository has been archived by the owner on Feb 13, 2020. It is now read-only.

Commit

Permalink
don't assume repos are in my home dir
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Hazel authored and santiycr committed Sep 19, 2011
1 parent 74ee1a7 commit 27a4024
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions publish
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
#!/bin/bash
\#!/bin/bash
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
fi
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
popd

0 comments on commit 27a4024

Please sign in to comment.