tag_nightly_mc   [plain text]


#!/bin/sh -x

# 59 8 * * * /home/jm/ftp/spamassassin/build/tag_nightly_mc > /dev/null 2>&1

cd /home/jm/ftp/spamassassin
export CVS_RSH=ssh

# argh, ensure we're tagging at 8:59 UTC
if TZ=UTC date | perl -ne '/^... ... .. 08:/ and exit 0; exit 1; '
then true ; else exit ; fi

cvs -z3 update -dP
cvs rtag -aF CURRENT_CORPORA_SUBMIT_VERSION .