|--==> "SJT" == Stephen J Turnbull <stephen(a)xemacs.org> writes:
SJT> I guess Steve should start doing a moving tag "sumo-current"
SJT> with his sumo releases, as well as the dated ones.
This is what I do, tag wise:
On releasing an individual package, I cd into the package directory
and then run this script. Which greps the Makefile for the version
number and converts it from x.xx to x_xx.
,----[ package-tag.sh ]
| #! /bin/bash
| ## package-tag.sh -*-Shell-script-*-
|
| # $Id: package-tag.sh,v 1.2 2001-12-10 21:20:44+10 steve Exp $
| ## Copyright (C) 2001 Steve Youngs
|
| # Commentary:
| # Runs cvs tag pkgname-x_xx in the current directory.
|
| RELNUM=`grep "^VERSION" Makefile|cut -d " " -f 3|tr \. \_`
| PKG=`grep "^PACKAGE =" Makefile|cut -d " " -f 3`
|
| read -t 5 -p "Run cvs tag $PKG-$RELNUM [y/n]?: "
| if [ $REPLY ]; then
| if [ $REPLY == "y" ]; then
| cvs tag $PKG-$RELNUM
| fi
| fi
`----
And for SUMOs
,----
| cvs tag sumo-`date +%Y-%m-%d`
`----
Which is from the 'BuildSumo' script.
How would I go about creating a "moving" tag?
--
|---<Steve Youngs>---------------<GnuPG KeyID: 10D5C9C5>---|
| XEmacs - It's not just an editor. |
| It's a way of life. |
|------------------------------------<youngs(a)xemacs.org>---|