Skip to contentSkip to conversation

release.sh, take two

DISCUSSION Christoph Hellwig 2 participants 5 messages Apr 29, 2009 – May 3, 2009

lore
Share & tools
lore
#1 lore raw
Quoted 4 lines · Christoph Hellwig

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:

#!/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
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#2 lore raw
Quoted 7 lines · Christoph Hellwig
Quoted 4 lines · Christoph Hellwig

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.

Felix

Quoted 23 lines

#!/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

Quoted 7 lines

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

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#3 lore raw
Quoted 7 lines · Felix Blyakher
Quoted 4 lines · Christoph Hellwig
Quoted 3 lines · Christoph Hellwig

A new release script, now using Makepkgs to simply things. Needs to be run from the repository directory.

Quoted 6 lines
Quoted 3 lines
Quoted 1 line

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

Quoted 35 lines

Felix

Quoted 23 lines

#!/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

Quoted 7 lines

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

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

Quoted 4 lines

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs