<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -7,6 +7,14 @@ fi
 
 PLUGIN=$1
 VERSION=$2
+BASEURL=$( cat ~/.wpplugins )
+
+if [ &quot;x$BASEURL&quot; == &quot;x&quot; ]; then
+    echo &quot;You need to write where to upload the plugin in the ~/.wpplugins file&quot;
+    echo &quot;Example:&quot;
+    echo &quot;  echo myserver.example.com:public_html/plugins/ &gt; ~/.wpplugins&quot;
+    exit 3
+fi
 
 if [ ! -d &quot;wp-content&quot; ]; then
     echo &quot;You need to run this script from the wordpress base directory&quot;
@@ -27,5 +35,5 @@ git tag -s v$VERSION -m &quot;Version $VERSION&quot;
 git push --mirror
 git archive --format=tar --prefix=$PLUGIN/ v$VERSION | gzip -c9 &gt; $PLUGIN-$VERSION.tar.gz
 tar tzvf $PLUGIN-$VERSION.tar.gz
-scp $PLUGIN-$VERSION.tar.gz moe.warp.es:public_html/wp-plugins/$PLUGIN/
+scp $PLUGIN-$VERSION.tar.gz $BASEURL/$PLUGIN/
 popd</diff>
      <filename>publish.sh</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>e246fef0ca0a70d661d047b3c1518c3b05e5a234</id>
    </parent>
  </parents>
  <author>
    <name>Jorge Bernal</name>
    <email>jbernal@warp.es</email>
  </author>
  <url>http://github.com/koke/wordpress-scripts/commit/12ad0a3d6a25979a56500684ad580a0f1f54f4d1</url>
  <id>12ad0a3d6a25979a56500684ad580a0f1f54f4d1</id>
  <committed-date>2008-05-13T13:12:36-07:00</committed-date>
  <authored-date>2008-05-13T13:12:36-07:00</authored-date>
  <message>Updated publish.sh to use config file</message>
  <tree>1135043a5e727f236382cb3eba8566062ac2b9ff</tree>
  <committer>
    <name>Jorge Bernal</name>
    <email>jbernal@warp.es</email>
  </committer>
</commit>
