Revision: 14538
Author: adrian.chadd
Date: Mon Apr 5 04:29:58 2010
Log: Add an upload-to-googlecode script
http://code.google.com/p/lusca-cache/source/detail?r=14538
Added:
/branches/releng/freebsd/upload
=======================================
--- /dev/null
+++ /branches/releng/freebsd/upload Mon Apr 5 04:29:58 2010
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+WORKDIR=/tmp/lusca
+RELVER=$1
+
+SRCFILE=${WORKDIR}/LUSCA_HEAD-r${RELVER}.tar.gz
+
+DATESTR="`date '+%B %d, %Y'`"
+VERSTR="Lusca Release - r${RELVER} (${DATESTR})"
+
+# Does the file exist?
+
+if [ ! -e ${SRCFILE} ]; then
+ echo "${SRCFILE} doesn't exist!"
+ exit 1
+fi
+
+# Upload!
+echo ${VERSTR}
+../scripts/googlecode-upload.py -s "${VERSTR}" -p lusca-cache -u
adrian.chadd ${SRCFILE}
+
--
You received this message because you are subscribed to the Google Groups
"lusca-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/lusca-commit?hl=en.