summaryrefslogtreecommitdiffstats
blob: 3d0124394bf3d2090d56a4f4ab99937109d2e8a3 (plain)
1
2
3
4
5
6
7
8
9
10
VERSION=1.0
PACKAGE=swift-$VERSION

rm -rf $PACKAGE
git archive --format=tar --prefix=$PACKAGE/ HEAD | tar x
cp -r Swift/Packaging/Debian $PACKAGE/debian
pushd $PACKAGE
SWIFT_VERSION=$VERSION dpkg-buildpackage -rfakeroot
popd
rm -rf $PACKAGE