3 # Builds a daily snapshot
5 VERSION
=`date "+%Y%m%d"`
6 SNAPSHOT
=dist
/stgit-
$VERSION.
tar.gz
8 git-rev-list
--pretty HEAD
> ChangeLog
10 mv stgit
/version.py stgit
/version.py-
11 echo "version = '$VERSION'" > stgit
/version.py
17 mv stgit
/version.py- stgit
/version.py
20 lftp
ftp://your-ftp-site
/stgit
/snapshots
-u username
,password
-e " \
21 set ftp:list-empty-ok yes; \
22 echo Uploading $SNAPSHOT; \