xfs
[Top] [All Lists]

Re: release.sh, take two

To: Felix Blyakher <felixb@xxxxxxx>
Subject: Re: release.sh, take two
From: Felix Blyakher <felixb@xxxxxxx>
Date: Fri, 1 May 2009 17:34:37 -0500
Cc: Christoph Hellwig <hch@xxxxxxxxxxxxx>, xfs@xxxxxxxxxxx
In-reply-to: <EE575CDF-D956-45DC-A58C-D17CF22F8C0A@xxxxxxx>
References: <20090429141108.GA14578@xxxxxxxxxxxxx> <20090429144734.GA15044@xxxxxxxxxxxxx> <EE575CDF-D956-45DC-A58C-D17CF22F8C0A@xxxxxxx>
On May 1, 2009, at 5:04 PM, Felix Blyakher wrote:


On Apr 29, 2009, at 9:47 AM, Christoph Hellwig wrote:

On Wed, Apr 29, 2009 at 10:11:08AM -0400, Christoph Hellwig wrote:
A new release script, now using Makepkgs to simply things.  Needs to
be run from the repository directory.

Anyone fine with commiting a copy to each of the repositories?

And now with actual content:

Looks good.
We should also add release.sh to .gitignore.

Sandeen corrected me on this.
release.sh will be in repo. I just ran 'git clean', and
was disappointed to see it removed.

So, it's all good.

Felix



Felix




#!/bin/sh

. VERSION

version=${PKG_MAJOR}.${PKG_MINOR}.${PKG_REVISION}
date=`date +"%-d %B %Y"`

echo "Updating CHANGES"
sed -e "s/${version}.*/${version} (${date})/" doc/CHANGES > doc/ CHANGES.tmp && \
        mv doc/CHANGES.tmp doc/CHANGES

echo "Commiting CHANGES update to git"
git-commit -a -m "${version} release"

echo "Tagging git repository"
git-tag v${version}

echo "Creating source tarball in build/tar/"
./Makepkgs

echo "Done."
echo "Please remember to push out tags using \"git push --tags\""

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs

<Prev in Thread] Current Thread [Next in Thread>