[pLog-svn] r2330 - plugins/trunk/bin
oscar at devel.plogworld.net
oscar at devel.plogworld.net
Thu Jul 14 20:03:03 GMT 2005
Author: oscar
Date: 2005-07-14 20:03:02 +0000 (Thu, 14 Jul 2005)
New Revision: 2330
Modified:
plugins/trunk/bin/build.sh
Log:
added some code to automatically upload .zip packages to sf.net. It works well with OSX's ftp client
(derived from BSD I think) but I am not sure about GNU's ftp client... Let me know whether it works or not
if you use this feature.
Modified: plugins/trunk/bin/build.sh
===================================================================
--- plugins/trunk/bin/build.sh 2005-07-14 20:01:30 UTC (rev 2329)
+++ plugins/trunk/bin/build.sh 2005-07-14 20:03:02 UTC (rev 2330)
@@ -78,11 +78,15 @@
cd $TMPFOLDER
message "Creating ZIP package..."
if [ $TEMPLATENAME == "all" ]; then
- zip -r ${CURFOLDER}/_all_plugins.zip *
+ zip -r ${CURFOLDER}/_all_plugins.zip
+ TEMPLATENAME=_all_plugins
else
zip -r ${CURFOLDER}/${TEMPLATENAME}.zip ${TEMPLATENAME}/
fi
+# upload the package -- works with OS X's ftp client... no guarantee about Linux!
+ftp -a -u ftp://upload.sourceforge.net/incoming/${TEMPLATENAME}.zip ${TEMPLATENAME}.zip
+
message "Done!"
# cleanup
More information about the pLog-svn
mailing list