release.sh, take two
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?
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
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
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/CHANGESecho "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
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 addrelease.shto .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/CHANGESecho "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/"
./MakepkgsQuoted 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
Ok, I've commited it to the xfsprogs-dev, xfsdump-dev and dmapi-dev repositories. As far as I'm converned we are now ready for a release.
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs