10 VERSION
=$
(.
/stg
--version |
grep "Stacked GIT" |
sed -e "s/Stacked GIT //")
11 TARBALL
=dist
/stgit-
$VERSION.
tar.gz
12 BINRPM
=dist
/stgit-
$VERSION-1.noarch.rpm
13 SRCRPM
=dist
/stgit-
$VERSION-1.src.rpm
14 DEBPKG
=..
/stgit_
$VERSION-0_all.deb
16 git-rev-list
--pretty HEAD
> ChangeLog
22 gpg
--detach-sign $TARBALL
24 # build the binary distributions
25 python setup.py bdist_rpm
26 dpkg-buildpackage
-rfakeroot -b
29 $UPLOAD && echo Uploading...
31 $UPLOAD && lftp
ftp://your-ftp-site
/stgit
-u username
,password
-e " \
32 set ftp:list-empty-ok yes; \
33 echo Uploading $TARBALL; \
35 echo Uploading $BINRPM; \
37 echo Uploading $SRCRPM; \
39 echo Uploading $DEBPKG; \
43 $UPLOAD && scp
$TARBALL $TARBALL.sig username@download.gna.org
:/upload
/stgit
/