#!/bin/sh -x

# 59 8 6 * * /home/jm/ftp/spamassassin/build/tag_weekly_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_WEEKLY_VERSION .

