mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-25 17:51:01 +00:00
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1603 72102866-910b-0410-8b05-ffd578937521
26 lines
554 B
Bash
Executable file
26 lines
554 B
Bash
Executable file
#!/bin/sh -e
|
|
|
|
# The directory in which to find the last snapshot
|
|
dir=/home/mccallum/gnu/releases
|
|
|
|
# The name of this module
|
|
module=gstep-base
|
|
|
|
date=`date +%y%m%d`
|
|
snap=${module}-${date}
|
|
|
|
cvs -Q rtag -F snapshot-$date $module
|
|
|
|
rm -rf $snap
|
|
## Checkout the $module into a directory named $snap
|
|
#cvs checkout -d $snap -r snapshot-$date $module
|
|
#tar -f - -co $snap | gzip -9v -c > $snap.tar.gz
|
|
|
|
make snapshot
|
|
|
|
#find $snap \( -name CVS -prune \) -o \( -type f -print \) |
|
|
#xargs md5sum | gzip -9v -c > $snap.md5sum.gz
|
|
|
|
rm -rf $snap &
|
|
|
|
mv -f $snap.tar.gz $dir
|