mirror of
https://github.com/ceph/ceph
synced 2024-12-30 15:33:31 +00:00
make_dist.sh: rename from bin/make_dist_tarball.sh
Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
parent
f3fe18a60c
commit
31e93908c9
@ -5,8 +5,6 @@ if [ ! -d .git ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
bindir=`dirname $0`
|
||||
|
||||
version=$1
|
||||
[ -z "$version" ] && version=`git describe | cut -c 2-`
|
||||
outfile="ceph-$version"
|
||||
@ -26,10 +24,10 @@ rm -f $outfile.tar $outfile.tar.gz
|
||||
|
||||
# build new tarball
|
||||
echo "building tarball..."
|
||||
$bindir/git-archive-all.sh --prefix ceph-$version/ \
|
||||
--verbose \
|
||||
--ignore corpus \
|
||||
$outfile.tar
|
||||
bin/git-archive-all.sh --prefix ceph-$version/ \
|
||||
--verbose \
|
||||
--ignore corpus \
|
||||
$outfile.tar
|
||||
echo "compressing to gz and bz2..."
|
||||
gzip -k -9 $outfile.tar
|
||||
bzip2 -9 $outfile.tar
|
Loading…
Reference in New Issue
Block a user