Permalink
Browse files

even better, making sure pear channel is there and pirum too

  • Loading branch information...
santiycr committed Jun 10, 2011
1 parent 4e17258 commit f94f89a84f68cea1c1240e6880eb794911964ebf
Showing with 10 additions and 7 deletions.
  1. +10 −7 Makefile
View
@@ -3,19 +3,22 @@ all:
RELEASE = $(shell python get_release.py)
+pre-release:
+ test -d ../pear || echo "\n\nyou need to checkout a copy of Sauce's pear channel: https://github.com/saucelabs/pear in the parent directory"
+ test -d ../pear
+ which pirum || echo "\n\nyou need pirum installed: http://www.pirum-project.org/"
+ which pirum
+
autoupdate:
python autoupdate_package.py
-release: autoupdate
+release: pre-release autoupdate
git add package.xml
git commit -m "automatic $(RELEASE) release"
pear package-validate
pear package
- cd ..
- pirum add pear phpunit-selenium-sauceondemand/PHPUnit_Selenium_SauceOnDemand-$(RELEASE).tgz
- cd pear
- git add -A
- git commit -m "automatic $(RELEASE) release"
- git push origin gh-pages
+ cd .. ;pirum add pear phpunit-selenium-sauceondemand/PHPUnit_Selenium_SauceOnDemand-$(RELEASE).tgz
+ cd ../pear ;git add -A ;git commit -m "automatic $(RELEASE) release"
+ echo "\n\nAll set, please cd into ../pear and run \"git push origin gh-pages\" for pushing the release"

0 comments on commit f94f89a

Please sign in to comment.